Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-03-26 16:36:15 +0300
committerWilliam Reynish <billrey@me.com>2019-03-26 16:36:15 +0300
commit982a80e6d85f15bfef4410153c70e470bd073334 (patch)
tree88be680aa6a948bc0723a670f2e60c585e4f79e7
parentb2656a6ee4d554fdd6dcf9cc0d9427d1a8307a10 (diff)
UI: Add rename to object and bone context menus
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 55e75441d52..314908f171f 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1962,6 +1962,12 @@ class VIEW3D_MT_object_context_menu(Menu):
layout.separator()
+ props = layout.operator("wm.call_panel", text="Rename Active Object...")
+ props.name = "TOPBAR_PT_name"
+ props.keep_open = False
+
+ layout.separator()
+
layout.operator("view3d.copybuffer", text="Copy Objects", icon='COPYDOWN')
layout.operator("view3d.pastebuffer", text="Paste Objects", icon='PASTEDOWN')
@@ -2772,6 +2778,12 @@ class VIEW3D_MT_pose_context_menu(Menu):
layout.separator()
+ props = layout.operator("wm.call_panel", text="Rename Active Bone...")
+ props.name = "TOPBAR_PT_name"
+ props.keep_open = False
+
+ layout.separator()
+
layout.operator("pose.paths_calculate", text="Calculate")
layout.operator("pose.paths_clear", text="Clear")