Skip to content

Commit

Permalink
Merge pull request #98777 from AThousandShips/debug_no_3d_fix
Browse files Browse the repository at this point in the history
Add missing checks for non-3D builds in scene debugger
  • Loading branch information
Repiteo committed Nov 10, 2024
2 parents 4f41637 + 5085c1f commit 827a525
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/debugger/scene_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 827a525

Please sign in to comment.