mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: UI: Show shortcut for armature Dissolve Bones in menu
This is due to an operator context mismatch between the keymap and the UI item. Dissolve Bones is added under `EXEC_AREA` in `VIEW3D_MT_edit_armature_delete.draw()` Part of #159616 See PR description for images Pull Request: https://projects.blender.org/blender/blender/pulls/160763
This commit is contained in:
parent
6e85968773
commit
f650388695
1 changed files with 3 additions and 1 deletions
|
|
@ -5771,7 +5771,9 @@ class VIEW3D_MT_edit_armature_delete(Menu):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("armature.dissolve", text="Dissolve Bones")
|
||||
row = layout.row()
|
||||
row.operator_context = 'INVOKE_REGION_WIN'
|
||||
row.operator("armature.dissolve", text="Dissolve Bones")
|
||||
|
||||
|
||||
class VIEW3D_MT_weight_grease_pencil(Menu):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue