Merge pull request #47116 from aaronfranke/3d-modules

Disable 3D-only modules when 3D is disabled
This commit is contained in:
Rémi Verschelde 2021-06-04 09:51:22 +02:00 committed by GitHub
commit 352d8315f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,7 @@
def can_build(env, platform):
# API Changed and bullet is disabled at the moment
return False
# Later change to return not env["disable_3d"]
def configure(env):

View File

@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return not env["disable_3d"]
def configure(env):

View File

@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return not env["disable_3d"]
def configure(env):

View File

@ -1,6 +1,6 @@
def can_build(env, platform):
# 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):

View File

@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return not env["disable_3d"]
def configure(env):

View File

@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return not env["disable_3d"]
def configure(env):

View File

@ -1,5 +1,5 @@
def can_build(env, platform):
return True
return not env["disable_3d"]
def configure(env):