summaryrefslogtreecommitdiffstats
path: root/modules/gltf/config.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-04 15:52:24 +0200
committerGitHub <noreply@github.com>2021-10-04 15:52:24 +0200
commit2a09e119864432b0074941eb7eba802c08faa72a (patch)
treec2b51794dadd76419315adf71108821940708af0 /modules/gltf/config.py
parent1a86c7ab134fc5c6db30ed0c9092353973febff7 (diff)
parent1463fc889b65524794f2f7d9cf661aa673d58e06 (diff)
downloadredot-engine-2a09e119864432b0074941eb7eba802c08faa72a.tar.gz
Merge pull request #52802 from V-Sekai/gltf-extensions
Diffstat (limited to 'modules/gltf/config.py')
-rw-r--r--modules/gltf/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gltf/config.py b/modules/gltf/config.py
index 52a97c93aa..a4736321fa 100644
--- a/modules/gltf/config.py
+++ b/modules/gltf/config.py
@@ -1,5 +1,5 @@
def can_build(env, platform):
- return env["tools"] and not env["disable_3d"]
+ return not env["disable_3d"]
def configure(env):
@@ -22,6 +22,8 @@ def get_doc_classes():
"GLTFSpecGloss",
"GLTFState",
"GLTFTexture",
+ "GLTFDocumentExtension",
+ "GLTFDocumentExtensionConvertImporterMesh",
]