parent
037237f518
commit
6c4407bae4
11 changed files with 99 additions and 51 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue