Disable 3D-only modules when 3D is disabled
This commit is contained in:
parent
5d9cab3aeb
commit
acd695060b
7 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
# API Changed and bullet is disabled at the moment
|
# API Changed and bullet is disabled at the moment
|
||||||
return False
|
return False
|
||||||
|
# Later change to return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
# Having this on release by default, it's small and a lot of users like to do procedural stuff
|
# Having this on release by default, it's small and a lot of users like to do procedural stuff
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
return True
|
return not env["disable_3d"]
|
||||||
|
|
||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
|
|
Loading…
Reference in a new issue