From 5254ffa17bf070f655f82a814052ba439260f9e9 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Mon, 25 May 2020 21:50:07 +0200 Subject: Fix T77051: IC keymap hotkey conflict in mode switching with GP object --- .../presets/keyconfig/keymap_data/industry_compatible_data.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'release') 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')]}), ]) -- cgit v1.2.3