Blender Git Commit Log
Git Commits -> Revision c9d9bfa
Revision c9d9bfa by Campbell Barton (master) September 21, 2021, 08:14 (GMT) |
Keymap: preference for fallback-tool with RMB select Expose a key-map preference "Fallback Tool (RMB)", disabled by default. The right mouse button uses the fallback tool (currently visible selection tool in the toolbar), instead of always tweaking. When any selection tool is active, right mouse always tweaks. To enable fallback selection on RMB, set the "Right Mouse Select Action" to "Selection Tool". Internal changes: - Add fall-back key-maps, separate key-maps needed for when the tool is run as a fall-back. This is needed so RMB-select can support fall-back tools, so left-mouse can be used when it's the active tool and RMB can be used as a fall-back action when another tool is active. - Add options field to tools so tools without gizmos can enable the full-back tool keymap. - Support multiple key-maps for keymap handlers. - Fall-back keymaps now co-exist with the tool-keymaps. So both keymaps may be active at once - using different mouse buttons. When gizmos are in use, a highlighted gizmo prioritizes the tool-keymap over the fall-back keymap. Resolves T83690. Reviewed By: JulienKaspar Ref D12493 |
Commit Details:
Full Hash: c9d9bfa84ad5cb985e3feccffa702b2f3cc2adf8
Parent Commit: 52bfa75
Lines Changed: +517, -208
16 Modified Paths:
/release/scripts/modules/bpy/utils/__init__.py (+1, -0) (Diff)
/release/scripts/presets/keyconfig/blender.py (+16, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+292, -124) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_common.py (+12, -2) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+15, -0) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+22, -18) (Diff)
/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c (+2, -2) (Diff)
/source/blender/editors/screen/area.c (+8, -4) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_preselect.c (+2, -2) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace_api.c (+9, -0) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+88, -36) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+15, -9) (Diff)
/source/blender/windowmanager/intern/wm_toolsystem.c (+4, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+18, -10) (Diff)
/release/scripts/presets/keyconfig/blender.py (+16, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+292, -124) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_common.py (+12, -2) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+15, -0) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+22, -18) (Diff)
/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c (+2, -2) (Diff)
/source/blender/editors/screen/area.c (+8, -4) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_preselect.c (+2, -2) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_workspace_api.c (+9, -0) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+88, -36) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+15, -9) (Diff)
/source/blender/windowmanager/intern/wm_toolsystem.c (+4, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+18, -10) (Diff)