diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-11-02 23:21:27 +0100 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-11-02 23:21:27 +0100 |
commit | 5085c1f5305c434cce76cde035cdaee0a9547b5c (patch) | |
tree | 659646be8ab31997eaf8ca300391b0ca8d7cb9da /scene/debugger | |
parent | 1bffd6c73b44b85e5889f54e14b2193940cf5bb1 (diff) | |
download | redot-engine-5085c1f5305c434cce76cde035cdaee0a9547b5c.tar.gz |
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 b87285ed74..679d4c6260 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -289,8 +289,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; |