summaryrefslogtreecommitdiff
path: root/modules/csg/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/csg/SCsub')
-rw-r--r--modules/csg/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/csg/SCsub b/modules/csg/SCsub
index 641a42c187..c7307ddefd 100644
--- a/modules/csg/SCsub
+++ b/modules/csg/SCsub
@@ -3,7 +3,10 @@
Import("env")
Import("env_modules")
+# Godot's own source files
env_csg = env_modules.Clone()
# Godot's own source files
env_csg.add_source_files(env.modules_sources, "*.cpp")
+if env["tools"]:
+ env_csg.add_source_files(env.modules_sources, "editor/*.cpp")