diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-10 12:12:50 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-10 12:12:50 -0600 |
commit | 827a525996bc8cd4573df21dae46bc4bab1a1aec (patch) | |
tree | 6d7c24e9eb2f51fdc2ff35250b5f18bd584f20ea /scene/debugger | |
parent | 4f416378a5cdb1f817f93a7f3e503f4bd4aa779b (diff) | |
parent | 5085c1f5305c434cce76cde035cdaee0a9547b5c (diff) | |
download | redot-engine-827a525996bc8cd4573df21dae46bc4bab1a1aec.tar.gz |
Merge pull request #98777 from AThousandShips/debug_no_3d_fix
Add missing checks for non-3D builds in scene debugger
Diffstat (limited to 'scene/debugger')
-rw-r--r-- | scene/debugger/scene_debugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index e116fd6373..377bc0eefe 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -303,8 +303,10 @@ Error SceneDebugger::parse_message(void *p_user, const String &p_msg, const Arra } else if (p_msg == "runtime_node_select_reset_camera_2d") { runtime_node_select->_reset_camera_2d(); +#ifndef _3D_DISABLED } else if (p_msg == "runtime_node_select_reset_camera_3d") { runtime_node_select->_reset_camera_3d(); +#endif // _3D_DISABLED } else { return ERR_SKIP; |