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 /source/blender/windowmanager
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 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_toolsystem.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c
index 7b91f8360ff..d1173fccff8 100644
--- a/source/blender/windowmanager/intern/wm_toolsystem.c
+++ b/source/blender/windowmanager/intern/wm_toolsystem.c
@@ -810,17 +810,11 @@ static const char *toolsystem_default_tool(const bToolKey *tkey)
case CTX_MODE_PARTICLE:
return "Comb";
- default:
- /* FIXME(campbell): disable for now since this means we can't lasso select by default. */
-#if 0
- return "Select Box";
-#endif
- break;
}
break;
}
- return "Cursor";
+ return "Select Box";
}
/**