summaryrefslogtreecommitdiff
path: root/modules/visual_script/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/visual_script/SCsub')
-rw-r--r--modules/visual_script/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/visual_script/SCsub b/modules/visual_script/SCsub
index 16faea08d7..b91cceae09 100644
--- a/modules/visual_script/SCsub
+++ b/modules/visual_script/SCsub
@@ -6,3 +6,6 @@ Import("env_modules")
env_vs = env_modules.Clone()
env_vs.add_source_files(env.modules_sources, "*.cpp")
+
+if env["tools"]:
+ env_vs.add_source_files(env.modules_sources, "editor/*.cpp")