diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-20 13:53:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 13:53:13 +0200 |
commit | b5380f9f59a8d22f3153be9453ca781b6d58e8e1 (patch) | |
tree | e786e3973cd9f29a6418574dba50e11ea4470b09 /editor/plugins | |
parent | 65e91798a5245618d89833c643c0fad7e5a04ad0 (diff) | |
parent | 6747126c14190191307feadad4782480cff441b2 (diff) |
Merge pull request #52867 from JFonS/upd_giz_fix
Fix error spam on quit
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 5263352502..cf451dce91 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -4820,7 +4820,7 @@ void _update_all_gizmos(Node *p_node) { } void Node3DEditor::update_all_gizmos(Node *p_node) { - if (!p_node && get_tree()) { + if (!p_node && is_inside_tree()) { p_node = get_tree()->get_edited_scene_root(); } |