Fix T73841: Pressing 3 doesn't go to Pose mode
Just changing the order in the keymap seems to fix this
This commit is contained in:
@@ -3404,7 +3404,8 @@ def km_object_non_modal(params):
|
||||
)
|
||||
|
||||
items.extend([
|
||||
|
||||
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'POSE')]}),
|
||||
("object.mode_set_with_submode",{"type": 'ONE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'EDIT'), ("mesh_select_mode", {'VERT'})]}),
|
||||
("object.mode_set_with_submode",{"type": 'TWO', "value": 'PRESS'},
|
||||
@@ -3423,7 +3424,6 @@ def km_object_non_modal(params):
|
||||
{"properties": [("mode", 'WEIGHT_PAINT')]}),
|
||||
("object.mode_set",{"type": 'EIGHT', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'TEXTURE_PAINT')]}),
|
||||
|
||||
("object.mode_set",{"type": 'TWO', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'EDIT_GPENCIL')]}),
|
||||
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
||||
@@ -3432,9 +3432,7 @@ def km_object_non_modal(params):
|
||||
{"properties": [("mode", 'PAINT_GPENCIL')]}),
|
||||
("object.mode_set",{"type": 'FIVE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'WEIGHT_GPENCIL')]}),
|
||||
|
||||
("object.mode_set",{"type": 'THREE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'POSE')]})
|
||||
|
||||
])
|
||||
|
||||
return keymap
|
||||
|
Reference in New Issue
Block a user