mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
UI: Add more property editor operators to IC keymap
As a followup for rB2b3d85d7d6771, this commit adds the remove and copy operators for grease pencil modifiers, effects, and constraints where they apply.
This commit is contained in:
parent
57f900e4ef
commit
4797c13e8f
1 changed files with 10 additions and 0 deletions
|
|
@ -454,6 +454,16 @@ def km_property_editor(params):
|
|||
("object.modifier_remove", {"type": 'BACK_SPACE', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("object.modifier_remove", {"type": 'DEL', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("object.modifier_copy", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
|
||||
# Grease pencil modifier panels
|
||||
("object.gpencil_modifier_remove", {"type": 'BACK_SPACE', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("object.gpencil_modifier_remove", {"type": 'DEL', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("object.gpencil_modifier_copy", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
|
||||
# ShaderFX panels
|
||||
("object.shaderfx_remove", {"type": 'BACK_SPACE', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("object.shaderfx_remove", {"type": 'DEL', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
# Constraint panels
|
||||
("constraint.delete", {"type": 'BACK_SPACE', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
("constraint.delete", {"type": 'DEL', "value": 'PRESS'}, {"properties": [("report", True)]}),
|
||||
])
|
||||
|
||||
return keymap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue