diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-03 12:31:50 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-03 12:31:50 +0100 |
commit | 49794911e895dd8886db6668928c8f4d97f98be7 (patch) | |
tree | bfb01d214b90f5df673ab8275e3a2ba618e9e78f /editor | |
parent | 8b180353d85f8695e220a64c007b2dbd43a98892 (diff) | |
parent | 35d0f712bae35fe92c6e1fd7e66073833dc1adfd (diff) |
Merge pull request #70779 from jamesmintram/jamesm/bugfix/add-missing-shortcut-case-for-reparent
Add missing case statement to handle re-parent to new node
Diffstat (limited to 'editor')
-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 60d3925cd6..4b04fd1589 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -134,6 +134,8 @@ void SceneTreeDock::shortcut_input(const Ref<InputEvent> &p_event) { _tool_selected(TOOL_MOVE_DOWN); } else if (ED_IS_SHORTCUT("scene_tree/reparent", p_event)) { _tool_selected(TOOL_REPARENT); + } else if (ED_IS_SHORTCUT("scene_tree/reparent_to_new_node", p_event)) { + _tool_selected(TOOL_REPARENT_TO_NEW_NODE); } else if (ED_IS_SHORTCUT("scene_tree/save_branch_as_scene", p_event)) { _tool_selected(TOOL_NEW_SCENE_FROM); } else if (ED_IS_SHORTCUT("scene_tree/delete_no_confirm", p_event)) { |