Add missing checks for non-3D builds in scene debugger

This commit is contained in:
A Thousand Ships 2024-11-02 23:21:27 +01:00
parent 1bffd6c73b
commit 5085c1f530
No known key found for this signature in database
GPG Key ID: 2033189A662F8BD7

View File

@ -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;