[Bf-blender-cvs] [5254ffa17bf] master: Fix T77051: IC keymap hotkey conflict in mode switching with GP object
William Reynish
noreply at git.blender.org
Mon May 25 21:50:09 CEST 2020
Commit: 5254ffa17bf070f655f82a814052ba439260f9e9
Author: William Reynish
Date: Mon May 25 21:50:07 2020 +0200
Branches: master
https://developer.blender.org/rB5254ffa17bf070f655f82a814052ba439260f9e9
Fix T77051: IC keymap hotkey conflict in mode switching with GP object
===================================================================
M release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
===================================================================
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')]}),
])
More information about the Bf-blender-cvs
mailing list