Fix T77051: IC keymap hotkey conflict in mode switching with GP object
This commit is contained in:
@@ -3768,6 +3768,8 @@ def km_object_non_modal(params):
|
|||||||
)
|
)
|
||||||
|
|
||||||
items.extend([
|
items.extend([
|
||||||
|
("object.mode_set",{"type": 'ONE', "value": 'PRESS'},
|
||||||
|
{"properties": [("mode", 'PAINT_GPENCIL')]}),
|
||||||
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
||||||
{"properties": [("mode", 'POSE')]}),
|
{"properties": [("mode", 'POSE')]}),
|
||||||
("object.mode_set_with_submode",{"type": 'ONE', "value": 'PRESS'},
|
("object.mode_set_with_submode",{"type": 'ONE', "value": 'PRESS'},
|
||||||
@@ -3790,11 +3792,11 @@ def km_object_non_modal(params):
|
|||||||
{"properties": [("mode", 'TEXTURE_PAINT')]}),
|
{"properties": [("mode", 'TEXTURE_PAINT')]}),
|
||||||
("object.mode_set",{"type": 'TWO', "value": 'PRESS'},
|
("object.mode_set",{"type": 'TWO', "value": 'PRESS'},
|
||||||
{"properties": [("mode", 'EDIT_GPENCIL')]}),
|
{"properties": [("mode", 'EDIT_GPENCIL')]}),
|
||||||
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
|
||||||
{"properties": [("mode", 'SCULPT_GPENCIL')]}),
|
|
||||||
("object.mode_set",{"type": 'FOUR', "value": 'PRESS'},
|
|
||||||
{"properties": [("mode", 'PAINT_GPENCIL')]}),
|
|
||||||
("object.mode_set",{"type": 'FIVE', "value": 'PRESS'},
|
("object.mode_set",{"type": 'FIVE', "value": 'PRESS'},
|
||||||
|
{"properties": [("mode", 'SCULPT_GPENCIL')]}),
|
||||||
|
("object.mode_set",{"type": 'SIX', "value": 'PRESS'},
|
||||||
|
{"properties": [("mode", 'VERTEX_GPENCIL')]}),
|
||||||
|
("object.mode_set",{"type": 'SEVEN', "value": 'PRESS'},
|
||||||
{"properties": [("mode", 'WEIGHT_GPENCIL')]}),
|
{"properties": [("mode", 'WEIGHT_GPENCIL')]}),
|
||||||
|
|
||||||
])
|
])
|
||||||
|
Reference in New Issue
Block a user