Blender Git Commit Log
Git Commits -> Revision 486796c
April 14, 2010, 06:27 (GMT) |
* Interaction Presets This adds a new presets menu in the splash screen and the Input section of User Preferences to choose a preset interaction style, consisting of key configurations and also other user preferences such as select mouse button, view rotation style, etc. Currently, just 'Blender' and 'Maya' presets are included, hopefully we can have more presets contributed (and maintained!) by the community. It's best to keep these presets minimal to avoid too many key conflicts. In the Maya one I changed the view manipulation key/mouse combos and also the transform manipulator keys, not much more than that. To save an interaction preset, open the user preferences Input section, and press the [ + ] button next to the presets menu. It will save out a .py file containing any edited key maps and navigation preferences to the presets/interaction folder in your scripts folder. --- Part of this commit changes the way that key maps are exported/displayed in preferences - now partial key configs are allowed. Previously it would export/import the entire key configuration, regardless of whether individual key maps were edited or not (which would make them more susceptible to conflicts in unexpected areas). (note, in blender terminology, a key map is a category of key items, such as 'Object Mode' or 'View 2d'.) Now, the export and the UI display work in a similar way to how key maps are processed internally - Locally edited key maps (after pressing the 'Edit' button) are processed first, falling back to other key maps in the current key config, and then falling back to the default key config. So it's possible for a key config to only include a few key maps, and the rest just gets pulled from the default key config. The preferences UI display works like this too behind the scenes in deciding what to show users, however using it is just like it was before, the complexity is hidden. |
Commit Details:
Full Hash: 486796ce31cdbec68ec765b011cd09b141e20578
SVN Revision: 28184
Parent Commit: 8559030
Lines Changed: +6526, -7355
15 Modified Paths:
/release/datafiles/splash.png (+0, -0) (Diff)
/release/scripts/modules/bpy_types.py (+5, -1) (Diff)
/release/scripts/op/presets.py (+46, -2) (Diff)
/release/scripts/ui/properties_data_lamp.py (+3, -3) (Diff)
/release/scripts/ui/properties_material.py (+3, -3) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+3, -3) (Diff)
/release/scripts/ui/properties_render.py (+3, -3) (Diff)
/release/scripts/ui/space_userpref.py (+33, -717) (Diff)
/source/blender/editors/datafiles/splash.png.c (+6386, -6607) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -4) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+28, -9) (Diff)
/release/scripts/modules/bpy_types.py (+5, -1) (Diff)
/release/scripts/op/presets.py (+46, -2) (Diff)
/release/scripts/ui/properties_data_lamp.py (+3, -3) (Diff)
/release/scripts/ui/properties_material.py (+3, -3) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+3, -3) (Diff)
/release/scripts/ui/properties_render.py (+3, -3) (Diff)
/release/scripts/ui/space_userpref.py (+33, -717) (Diff)
/source/blender/editors/datafiles/splash.png.c (+6386, -6607) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -4) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+28, -9) (Diff)