Do not update scene tree dock when node edited outside of it
(cherry picked from commit 022a061571
)
This commit is contained in:
parent
f8264abb46
commit
970a66a0fd
1 changed files with 4 additions and 0 deletions
|
@ -539,6 +539,10 @@ void SceneTreeEditor::_node_removed(Node *p_node) {
|
|||
}
|
||||
|
||||
void SceneTreeEditor::_node_renamed(Node *p_node) {
|
||||
if (!get_scene_node()->is_a_parent_of(p_node)) {
|
||||
return;
|
||||
}
|
||||
|
||||
emit_signal("node_renamed");
|
||||
|
||||
if (!tree_dirty) {
|
||||
|
|
Loading…
Reference in a new issue