[Bf-blender-cvs] [756ab5e] master: Use Ctrl-Shift-RMB for to enable 'Fill Region'

Campbell Barton noreply at git.blender.org
Wed Mar 30 19:27:51 CEST 2016


Commit: 756ab5ee2cc2c530e267f7701e953664171907d2
Author: Campbell Barton
Date:   Thu Mar 31 04:30:33 2016 +1100
Branches: master
https://developer.blender.org/rB756ab5ee2cc2c530e267f7701e953664171907d2

Use Ctrl-Shift-RMB for to enable 'Fill Region'

===================================================================

M	source/blender/editors/mesh/mesh_ops.c

===================================================================

diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c
index a71f6b5..2853ae3 100644
--- a/source/blender/editors/mesh/mesh_ops.c
+++ b/source/blender/editors/mesh/mesh_ops.c
@@ -338,7 +338,11 @@ void ED_keymap_mesh(wmKeyConfig *keyconf)
 	RNA_boolean_set(kmi->ptr, "deselect", false);
 	RNA_boolean_set(kmi->ptr, "toggle", true);
 
-	WM_keymap_add_item(keymap, "MESH_OT_shortest_path_pick", SELECTMOUSE, KM_PRESS, KM_CTRL, 0);
+	kmi = WM_keymap_add_item(keymap, "MESH_OT_shortest_path_pick", SELECTMOUSE, KM_PRESS, KM_CTRL, 0);
+	RNA_boolean_set(kmi->ptr, "use_fill", false);
+
+	kmi = WM_keymap_add_item(keymap, "MESH_OT_shortest_path_pick", SELECTMOUSE, KM_PRESS, KM_CTRL | KM_SHIFT, 0);
+	RNA_boolean_set(kmi->ptr, "use_fill", true);
 
 	kmi = WM_keymap_add_item(keymap, "MESH_OT_select_all", AKEY, KM_PRESS, 0, 0);
 	RNA_enum_set(kmi->ptr, "action", SEL_TOGGLE);




More information about the Bf-blender-cvs mailing list