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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-16 01:27:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-16 01:54:50 +0300
commitbf7af31e9f7c0177c1d390ab77804f8d556e0e56 (patch)
treed6a2f7c4dcc7e7c6a9d57240d03d8fd588f44b85 /release/scripts/startup/bl_ui/space_toolsystem_common.py
parent5215c42e3c6ec67859fa4081f93d1943a8c0bbc7 (diff)
Keymaps: left click select keymap changes
Both the active tools and selection are now on LMB, which leads to various conflicts. For that reason the LMB keymap now has a couple of differences compared to before. These changes do not affect the RMB keymap. * Context Menu: W -> RMB * Select Tool activate: None -> W * Set Cursor: RMB -> Shift+RMB * Loop Select: Alt+LMB -> double click LMB * Mask Feather Vertex Slide: Shift+RMB -> Ctrl+Shift+RMB * Node Select: only with LMB now, no RMB The idea behind the W key Select Tool shortcut is that various tools can't be combined with selection, unlike the RMB keymap. So this works as a quick shortcut to drop a tool and go back to selection. Tools: set Select Box tool as default, rather than Cursor. This goes along with coming LMB select keymap changes, where we want the user to be able to LMB click to select by default, rather than set the cursor. The cursor will still be directly setabble with shift+RMB.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_common.py')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index 7625f07043a..d1068ab2950 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -735,12 +735,12 @@ def keymap_from_context(context, space_type):
use_simple_keymap = False
# Press the toolbar popup key again to set the default tool,
- # this is useful because the cursor tool is useful as a way
+ # this is useful because the select box tool is useful as a way
# to 'drop' currently active tools (it's basically a 'none' tool).
# so this allows us to quickly go back to a state that allows
# a shortcut based workflow (before the tool system was added).
use_tap_reset = True
- # TODO: support other tools for modes which don't use the cursor.
+ # TODO: support other tools for modes which don't use select box.
tap_reset_tool = "Cursor"
# Check the tool is available in the current context.
if ToolSelectPanelHelper._tool_get_by_name(context, space_type, tap_reset_tool)[1] is None: