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

This commit is contained in:
Campbell Barton 2016-03-31 04:30:33 +11:00
parent a55477d32a
commit 756ab5ee2c
Notes: blender-bot 2023-02-14 08:01:56 +01:00
Referenced by issue #48009, Fill Region Option of Select Shortest Path does not React Well Near Ngons in Face Select Mode
1 changed files with 5 additions and 1 deletions

View File

@ -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);