diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-20 12:44:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 12:44:31 +0200 |
commit | cbe444ff1884a7f81b4b4a326e143cf097a65dd0 (patch) | |
tree | ec565d100be2d81fe33a1b5ddffae9939ba288ec | |
parent | a65d9d96ea502f23f01bb2649bbf0e49e0bfe672 (diff) | |
parent | a100b320c267286493d8553217bd862468843d41 (diff) |
Merge pull request #22273 from JFonS/change_viewport_create_root
Change viewport type after using create root menu
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 1f5cd7fe0b..ff6832177e 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -830,6 +830,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { editor_data->get_undo_redo().add_undo_method(editor, "set_edited_scene", (Object *)NULL); editor_data->get_undo_redo().commit_action(); + editor->edit_node(new_node); + } break; default: { |