diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-28 19:56:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-28 19:56:20 +0200 |
| commit | 4799009a0fa21a46a816fdf146d99669720fe902 (patch) | |
| tree | c46866d19d26f7dd3cfd1661dea917e3dfbd17f3 /modules/gridmap/SCsub | |
| parent | 25af3ad5bee429a4efcf4649a2bfb61831b49dd5 (diff) | |
| parent | 5fe6984639b5db9efa14103698e489040315ebfb (diff) | |
| download | redot-engine-4799009a0fa21a46a816fdf146d99669720fe902.tar.gz | |
Merge pull request #59631 from akien-mga/websocket-no-tools-disable-editor-code
Modules: Don't build editor-specific classes in templates
Diffstat (limited to 'modules/gridmap/SCsub')
| -rw-r--r-- | modules/gridmap/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gridmap/SCsub b/modules/gridmap/SCsub index 970ce534f0..52777235b8 100644 --- a/modules/gridmap/SCsub +++ b/modules/gridmap/SCsub @@ -5,4 +5,7 @@ Import("env_modules") env_gridmap = env_modules.Clone() +# Godot's own source files env_gridmap.add_source_files(env.modules_sources, "*.cpp") +if env["tools"]: + env_gridmap.add_source_files(env.modules_sources, "editor/*.cpp") |
