You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
@@ -4061,7 +4061,10 @@ void _update_all_gizmos(Node *p_node) {
|
||||
}
|
||||
|
||||
void SpatialEditor::update_all_gizmos(Node *p_node) {
|
||||
if (!p_node) p_node = SceneTree::get_singleton()->get_root();
|
||||
if (!p_node) {
|
||||
if (!SceneTree::get_singleton()) return;
|
||||
p_node = SceneTree::get_singleton()->get_root();
|
||||
}
|
||||
_update_all_gizmos(p_node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user