summaryrefslogtreecommitdiff
path: root/modules/gltf/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-09-30 12:28:50 +0200
committerGitHub <noreply@github.com>2022-09-30 12:28:50 +0200
commitf47979f0874b2ca6134e71575fbb359c6cc5ced0 (patch)
treec5c2159d3317f1da839e390281d6f32eb82e1158 /modules/gltf/SCsub
parent67961d875d518b565bc1fa923772af56fb227063 (diff)
parent39facb35a021f9301f742732fbbd3c6a5a548893 (diff)
Merge pull request #66242 from akien-mga/scons-unify-tools-target
Diffstat (limited to 'modules/gltf/SCsub')
-rw-r--r--modules/gltf/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/SCsub b/modules/gltf/SCsub
index 5f111165fd..d1f337715f 100644
--- a/modules/gltf/SCsub
+++ b/modules/gltf/SCsub
@@ -9,5 +9,5 @@ env_gltf = env_modules.Clone()
env_gltf.add_source_files(env.modules_sources, "*.cpp")
env_gltf.add_source_files(env.modules_sources, "structures/*.cpp")
SConscript("extensions/SCsub")
-if env["tools"]:
+if env.editor_build:
env_gltf.add_source_files(env.modules_sources, "editor/*.cpp")