Merge pull request #98777 from AThousandShips/debug_no_3d_fix

Add missing checks for non-3D builds in scene debugger
This commit is contained in:
Thaddeus Crews 2024-11-10 12:12:50 -06:00
commit 827a525996
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

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