diff options
author | William Reynish <billrey@me.com> | 2019-12-05 08:38:19 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-12-05 08:38:19 +0300 |
commit | a16a56e7d9ff91b7f0b208ad3868ecea7de352da (patch) | |
tree | fc369a1435766cc3fa362d648c45984919db542b | |
parent | 1b33e1f9ae77ab5faeee96a89f7c040b026e647b (diff) |
Industry Compat keymap: Support 1-4 keys for switching selection modes in the UV Editor
This is consistent with the 3d View. Oversight pointed out by users on the forums.
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 9 |
1 files changed, 9 insertions, 0 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 6bf9a60a3d7..473fbb902dc 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -529,6 +529,15 @@ def km_uv_editor(params): op_panel("TOPBAR_PT_name", {"type": 'RET', "value": 'PRESS'}, [("keep_open", False)]), ("wm.search_menu", {"type": 'TAB', "value": 'PRESS'}, None), # Selection modes. + ("wm.context_set_enum", {"type": 'ONE', "value": 'PRESS'}, + {"properties": [("data_path", 'tool_settings.uv_select_mode'), ("value", 'VERTEX')]}), + ("wm.context_set_enum", {"type": 'TWO', "value": 'PRESS'}, + {"properties": [("data_path", 'tool_settings.uv_select_mode'), ("value", 'EDGE')]}), + ("wm.context_set_enum", {"type": 'THREE', "value": 'PRESS'}, + {"properties": [("data_path", 'tool_settings.uv_select_mode'), ("value", 'FACE')]}), + ("wm.context_set_enum", {"type": 'FOUR', "value": 'PRESS'}, + {"properties": [("data_path", 'tool_settings.uv_select_mode'), ("value", 'ISLAND')]}), + ("uv.select", {"type": 'LEFTMOUSE', "value": 'CLICK'}, {"properties": [("extend", False), ("deselect_all", True)]}), ("uv.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, |