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>2019-05-18 20:13:17 +0300
committerWilliam Reynish <billrey@me.com>2019-05-18 20:13:17 +0300
commit1fce0460d5222604e7007518bc246c97286312f3 (patch)
treef7977308b538a1ba726f6a6ad1ba631bdb05d605 /release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
parentdb3f3d4d236f873aaadf0cbefee5139a7887d9af (diff)
Industry Compat keymap: Switch mode order to Vert, Edge, Face, Object
Due to popular demand, this switches the number key mode order, so that it goes: 1: vert, 2: edge, 3: face, 4: object, 5: sculpt and so on This has a number of downsides in practice, because it works less well for objects other than meshes, which now have a gap in the keymap between 1 and 4. I will try this change anyway, due to popular demand. Also use V for viewport pie, which makes it easier to switch viewpoints on laptops especially.
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.py29
1 files changed, 17 insertions, 12 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 cdb0c4a00c0..e3aa41c4536 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -581,6 +581,7 @@ def km_view3d(params):
("wm.search_menu", {"type": 'TAB', "value": 'PRESS'}, None),
# Visibility.
("view3d.localview", {"type": 'I', "value": 'PRESS', "shift": True}, None),
+ op_menu_pie("VIEW3D_MT_view_pie", {"type": 'V', "value": 'PRESS'}),
# Navigation.
("view3d.rotate", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None),
@@ -962,9 +963,13 @@ def km_image(params):
{"properties": [("point", 'BLACK_POINT')]}),
("image.curves_point_set", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
{"properties": [("point", 'WHITE_POINT')]}),
- ("object.mode_set", {"type": 'TWO', "value": 'PRESS'},
- {"properties": [("mode", 'EDIT')]}),
("object.mode_set", {"type": 'ONE', "value": 'PRESS'},
+ {"properties": [("mode", 'EDIT')]}),
+ ("object.mode_set", {"type": 'TWO', "value": 'PRESS'},
+ {"properties": [("mode", 'OBJECT')]}),
+ ("object.mode_set", {"type": 'THREE', "value": 'PRESS'},
+ {"properties": [("mode", 'OBJECT')]}),
+ ("object.mode_set", {"type": 'FOUR', "value": 'PRESS'},
{"properties": [("mode", 'OBJECT')]}),
op_menu_pie("IMAGE_MT_pivot_pie", {"type": 'PERIOD', "value": 'PRESS'}),
# Tools
@@ -2265,7 +2270,6 @@ def km_grease_pencil_stroke_edit_mode(params):
# Separate
op_menu("GPENCIL_MT_separate", {"type": 'P', "value": 'PRESS'}),
# Split and joint strokes
- ("gpencil.stroke_split", {"type": 'V', "value": 'PRESS'}, None),
("gpencil.stroke_join", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
("gpencil.stroke_join", {"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties": [("type", 'JOINCOPY')]}),
@@ -2374,7 +2378,7 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
("gpencil.draw", {"type": 'L', "value": 'PRESS'}, None),
("gpencil.draw", {"type": 'L', "value": 'PRESS', "alt": True}, None),
("gpencil.draw", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
- ("gpencil.draw", {"type": 'V', "value": 'PRESS'}, None),
+ ("gpencil.draw", {"type": 'B', "value": 'PRESS'}, None),
# Mode
("gpencil.draw", {"type": 'P', "value": 'PRESS'}, None),
# Set reference point
@@ -2459,10 +2463,10 @@ def km_grease_pencil_stroke_sculpt_mode(params):
("gpencil.sculpt_paint", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
{"properties": [("wait_for_input", False)]}),
# 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_sculpt.brush.strength')]}),
# Brush size
- ("wm.radial_control", {"type": 'F', "value": 'PRESS'},
+ ("wm.radial_control", {"type": 'S', "value": 'PRESS'},
{"properties": [("data_path_primary", 'tool_settings.gpencil_sculpt.brush.size')]}),
# Context menu
op_panel("VIEW3D_PT_gpencil_sculpt_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}),
@@ -3360,16 +3364,17 @@ def km_object_non_modal(params):
)
items.extend([
- ("object.mode_set",{"type": 'ONE', "value": 'PRESS'},
- {"properties": [("mode", 'OBJECT')]}),
- ("ic_keymap.mesh_select_mode",{"type": 'TWO', "value": 'PRESS'},
+
+ ("ic_keymap.mesh_select_mode",{"type": 'ONE', "value": 'PRESS'},
{"properties": [("type", 'VERT')]}),
- ("ic_keymap.mesh_select_mode",{"type": 'THREE', "value": 'PRESS'},
+ ("ic_keymap.mesh_select_mode",{"type": 'TWO', "value": 'PRESS'},
{"properties": [("type", 'EDGE')]}),
- ("ic_keymap.mesh_select_mode",{"type": 'FOUR', "value": 'PRESS'},
+ ("ic_keymap.mesh_select_mode",{"type": 'THREE', "value": 'PRESS'},
{"properties": [("type", 'FACE')]}),
- ("object.mode_set",{"type": 'TWO', "value": 'PRESS'},
+ ("object.mode_set",{"type": 'ONE', "value": 'PRESS'},
{"properties": [("mode", 'EDIT')]}),
+ ("object.mode_set",{"type": 'FOUR', "value": 'PRESS'},
+ {"properties": [("mode", 'OBJECT')]}),
("object.mode_set",{"type": 'FIVE', "value": 'PRESS'},
{"properties": [("mode", 'SCULPT')]}),
("object.mode_set",{"type": 'SIX', "value": 'PRESS'},