Merge pull request #47825 from nathanfranke/fix-super-annoying-bug-lol

Do not change scene on save when debugging
This commit is contained in:
Rémi Verschelde 2021-07-15 14:24:55 +02:00 committed by GitHub
commit 912792cfe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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) {