UI: Add rename to object and bone context menus
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user