Merge pull request #54072 from KoBeWi/hrcr_is_ded
This commit is contained in:
commit
a2803f3d86
15 changed files with 42 additions and 50 deletions
|
|
@ -2153,7 +2153,7 @@ void SceneTreeDock::_do_create(Node *p_parent) {
|
|||
editor_data->get_undo_redo().create_action(TTR("Create Node"));
|
||||
|
||||
if (edited_scene) {
|
||||
editor_data->get_undo_redo().add_do_method(p_parent, "add_child", child);
|
||||
editor_data->get_undo_redo().add_do_method(p_parent, "add_child", child, true);
|
||||
editor_data->get_undo_redo().add_do_method(child, "set_owner", edited_scene);
|
||||
editor_data->get_undo_redo().add_do_method(editor_selection, "clear");
|
||||
editor_data->get_undo_redo().add_do_method(editor_selection, "add_node", child);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue