Blender Git Commit Log

Git Commits -> Revision 088be7e

Revision 088be7e by Brecht Van Lommel (master)
November 15, 2018, 21:31 (GMT)
Keymaps: replace select / action mouse system

For Blender builtin configurations the option to choose the select mouse remains
and is now also in the splash screen. It works by changing the keymap dynamically
in the script, rather than using special events.

The system of automatic switching of events was not flexible enough to deal with
side effects that require further keymap changes, so it is now under more manual
control in the script.

This breaks compatibility for some scripts and exported key configurations.
These can be fixed by replacing SELECTMOUSE, ACTIONMOUSE, EVT_TWEAK_S and
EVT_TWEAK_A with appropriate LEFTMOUSE, RIGHTMOUSE, EVT_TWEAK_L and
EVT_TWEAK_R events.

Other than that, there should be no functional changes.

Commit Details:

Full Hash: 088be7eb2f650f7849e3af33cbea76f7b3af0822
Parent Commit: 8ecc51e
Committed By: Campbell Barton
Lines Changed: +326, -279

20 Modified Paths:

/release/scripts/modules/bpy_extras/keyconfig_utils.py (+2, -0) (Diff)
/release/scripts/presets/keyconfig/3dsmax.py (+111, -111) (Diff)
/release/scripts/presets/keyconfig/blender.py (+14, -3) (Diff)
/release/scripts/presets/keyconfig/blender_27x.py (+15, -2) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+26, -25) (Diff)
/release/scripts/presets/keyconfig/maya.py (+79, -79) (Diff)
/release/scripts/startup/bl_operators/wm.py (+9, -6) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_common.py (+0, -2) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+5, -5) (Diff)
/release/scripts/templates_py/ui_tool_simple.py (+2, -2) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+40, -0) (Diff)
/source/blender/editors/animation/anim_ops.c (+1, -3) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+1, -3) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+7, -2) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+4, -8) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+7, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+0, -16) (Diff)
/source/blender/windowmanager/wm_event_types.h (+1, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021