UI: Add Rename operator in bone collection context menu
Operator to rename tree view item already exists: `UI_OT_view_item_rename` Add this in context menu as discussed in !120003 Pull Request: https://projects.blender.org/blender/blender/pulls/120086
This commit is contained in:
committed by
Pratik Borhade
parent
01ee34ebd1
commit
5bc033b4d7
@@ -182,6 +182,8 @@ class ARMATURE_MT_collection_tree_context_menu(Menu):
|
||||
layout.operator("armature.collection_select", text="Select Bones")
|
||||
layout.operator("armature.collection_deselect", text="Deselect Bones")
|
||||
|
||||
layout.separator()
|
||||
layout.operator("UI_OT_view_item_rename", text="Rename")
|
||||
|
||||
class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, Panel):
|
||||
bl_label = "Inverse Kinematics"
|
||||
|
||||
Reference in New Issue
Block a user