diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-30 15:39:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 15:39:09 +0200 |
commit | 28fa82c2defacca8ccad5c26022d2eeaee925f4f (patch) | |
tree | 148d7fd58c9baa565c61e2a49aa1c500aac4286b | |
parent | 63b607257b9b84acd55e8a37097a9ad5ab0591db (diff) | |
parent | 25704427b56c5d11117d1d497554731f99ed94b7 (diff) |
Merge pull request #19268 from swarnimarun/minor_fixes
Removing duplicate Batch Rename from scene-tree menu
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 32b4e7f962..65e3cdedea 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -1895,8 +1895,6 @@ void SceneTreeDock::_tree_rmb(const Vector2 &p_menu_pos) { menu->add_icon_shortcut(get_icon("ScriptRemove", "EditorIcons"), ED_GET_SHORTCUT("scene_tree/clear_script"), TOOL_CLEAR_SCRIPT); menu->add_separator(); menu->add_icon_shortcut(get_icon("Rename", "EditorIcons"), ED_GET_SHORTCUT("scene_tree/rename"), TOOL_RENAME); - } else { // multi select - menu->add_icon_shortcut(get_icon("Rename", "EditorIcons"), ED_GET_SHORTCUT("scene_tree/batch_rename"), TOOL_BATCH_RENAME); } menu->add_icon_shortcut(get_icon("Reload", "EditorIcons"), ED_GET_SHORTCUT("scene_tree/change_node_type"), TOOL_REPLACE); menu->add_separator(); |