Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2020-03-14 16:00:28 +0300
committerWilliam Reynish <billrey@me.com>2020-03-14 16:00:28 +0300
commitb7160f2f0a601988b64be7c205ee9e26ab1da112 (patch)
tree4cf74cc09766ffe0d0cd8293bf5f15a785f8feaf /release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
parent94bad2f30d665b8fc0b844094801f06079687171 (diff)
IC keymap: Fixes for GP
- Remove Shift for drawing poly-lines, just as in the default keymap - Use consistent hotkeys for size and strength radial controls - Fix some bugs/missing items from the GP merge
Diffstat (limited to 'release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py11
1 files changed, 4 insertions, 7 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 ec8f46724b5..6baa4c0a3ac 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -2398,9 +2398,6 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
# Draw - straight lines
("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
{"properties": [("mode", 'DRAW_STRAIGHT'), ("wait_for_input", False)]}),
- # Draw - poly lines
- ("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
- {"properties": [("mode", 'DRAW_POLY'), ("wait_for_input", False)]}),
# Erase
("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties": [("mode", 'ERASER'), ("wait_for_input", False)]}),
@@ -2720,11 +2717,11 @@ def km_grease_pencil_stroke_weight_mode(params):
items.extend([
# Brush strength
- ("wm.radial_control", {"type": 'F', "value": 'PRESS', "shift": True},
+ ("wm.radial_control", {"type": 'U', "value": 'PRESS'},
{"properties": [("data_path_primary", 'tool_settings.gpencil_weight_paint.brush.strength')]}),
# Brush size
("wm.radial_control", {"type": 'S', "value": 'PRESS'},
- {"properties": [("data_path_primary", 'tool_settings.gpencil_sculpt.brush.size')]}),
+ {"properties": [("data_path_primary", 'tool_settings.gpencil_weight_paint.brush.size')]}),
# Context menu
*_template_items_context_panel("VIEW3D_PT_gpencil_weight_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}),
])
@@ -2760,10 +2757,10 @@ def km_grease_pencil_stroke_vertex_mode(params):
# Selection
*_grease_pencil_selection(params),
# Brush strength
- ("wm.radial_control", {"type": 'F', "value": 'PRESS', "shift": True},
+ ("wm.radial_control", {"type": 'U', "value": 'PRESS'},
{"properties": [("data_path_primary", 'tool_settings.gpencil_vertex_paint.brush.gpencil_settings.pen_strength')]}),
# Brush size
- ("wm.radial_control", {"type": 'F', "value": 'PRESS'},
+ ("wm.radial_control", {"type": 'S', "value": 'PRESS'},
{"properties": [("data_path_primary", 'tool_settings.gpencil_vertex_paint.brush.size')]}),
# Display
*_grease_pencil_display(),