summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-05-30 15:39:09 +0200
committerGitHub <noreply@github.com>2018-05-30 15:39:09 +0200
commit28fa82c2defacca8ccad5c26022d2eeaee925f4f (patch)
tree148d7fd58c9baa565c61e2a49aa1c500aac4286b
parent63b607257b9b84acd55e8a37097a9ad5ab0591db (diff)
parent25704427b56c5d11117d1d497554731f99ed94b7 (diff)
Merge pull request #19268 from swarnimarun/minor_fixes
Removing duplicate Batch Rename from scene-tree menu
-rw-r--r--editor/scene_tree_dock.cpp2
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();