Do not update scene tree dock when node edited outside of it

This commit is contained in:
Nathan Franke 2021-04-12 06:26:56 -05:00
parent 499be1fb67
commit 022a061571
No known key found for this signature in database
GPG key ID: 92164DCCF3B1F723

View file

@ -526,6 +526,10 @@ void SceneTreeEditor::_node_removed(Node *p_node) {
}
void SceneTreeEditor::_node_renamed(Node *p_node) {
if (!get_scene_node()->is_ancestor_of(p_node)) {
return;
}
emit_signal("node_renamed");
if (!tree_dirty) {