diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2024-02-26 06:34:53 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2024-03-11 01:00:55 -0700 |
commit | 6aac3e4a164457bfb08ff03d29313b84aedc607e (patch) | |
tree | 9c555a7a4cc1b355302c2485b9b65fba729fead3 /scene/resources/packed_scene.cpp | |
parent | 810f127022ec2cbfb288e436151d1a777c7b5da7 (diff) | |
download | redot-engine-6aac3e4a164457bfb08ff03d29313b84aedc607e.tar.gz |
Disable all 3D nodes, physics, and resources when compiling without 3D
Diffstat (limited to 'scene/resources/packed_scene.cpp')
-rw-r--r-- | scene/resources/packed_scene.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/packed_scene.cpp b/scene/resources/packed_scene.cpp index 9fb91e9931..94a031947a 100644 --- a/scene/resources/packed_scene.cpp +++ b/scene/resources/packed_scene.cpp @@ -37,7 +37,9 @@ #include "core/io/resource_loader.h" #include "core/templates/local_vector.h" #include "scene/2d/node_2d.h" +#ifndef _3D_DISABLED #include "scene/3d/node_3d.h" +#endif // _3D_DISABLED #include "scene/gui/control.h" #include "scene/main/instance_placeholder.h" #include "scene/main/missing_node.h" |