Merge pull request #47825 from nathanfranke/fix-super-annoying-bug-lol
Do not change scene on save when debugging
This commit is contained in:
commit
912792cfe6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue