diff options
author | William Reynish <billrey@me.com> | 2020-05-25 22:50:07 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-05-25 22:50:07 +0300 |
commit | 5254ffa17bf070f655f82a814052ba439260f9e9 (patch) | |
tree | f55836331f01d99764f9a63477b1f98d228fd361 /release/scripts | |
parent | 4464a9425be9608f7e03e7f3ad7c61468d3c1da3 (diff) |
Fix T77051: IC keymap hotkey conflict in mode switching with GP object
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index 842a12ed249..3698db4cf94 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -3768,6 +3768,8 @@ def km_object_non_modal(params): ) items.extend([ + ("object.mode_set",{"type": 'ONE', "value": 'PRESS'}, + {"properties": [("mode", 'PAINT_GPENCIL')]}), ("object.mode_set",{"type": 'THREE', "value": 'PRESS'}, {"properties": [("mode", 'POSE')]}), ("object.mode_set_with_submode",{"type": 'ONE', "value": 'PRESS'}, @@ -3790,11 +3792,11 @@ def km_object_non_modal(params): {"properties": [("mode", 'TEXTURE_PAINT')]}), ("object.mode_set",{"type": 'TWO', "value": 'PRESS'}, {"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'}, + {"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')]}), ]) |