Disable 3D-only modules when 3D is disabled

This commit is contained in:
Aaron Franke 2021-03-17 15:22:33 -04:00
parent 5d9cab3aeb
commit acd695060b
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF
7 changed files with 7 additions and 6 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):