1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

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

(cherry picked from commit 022a061571)
This commit is contained in:
Nathan Franke
2021-04-12 06:26:56 -05:00
committed by Rémi Verschelde
parent 4d48e33345
commit 1856be7a0e

View File

@@ -542,6 +542,9 @@ 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");