1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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

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;