Blender Git Loki

Git Commits -> Revision fd18f55

Revision fd18f55 by Martin Poirier (master)
December 17, 2009, 03:32 (GMT)
keymap editor

New unique ID per keymap item (unique inside their keymap) for default and configuration keymaps.
This allows restoring a single user defined kmi to its previous (default or config) values instead of having to restore the whole keymap.
The restore item button is disabled for kmi added by the users (they don't have an ID).

Also fixes a bug in the rna function for add keymap item (parameter order was incorrect, messing adding back saved configurations).

Commit Details:

Full Hash: fd18f555103efe8ac148ab763965d5595632da3d
SVN Revision: 25426
Parent Commit: c3b9788
Lines Changed: +101, -4

6 Modified Paths:

/release/scripts/ui/space_userpref.py (+20, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+11, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+60, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021