Blender Git Loki
Git Commits -> Revision 9ac754e
Revision 9ac754e by Ton Roosendaal (master) July 26, 2009, 12:52 (GMT) |
2.5 First step towards keymap editor! Before getting too excited: - doesn't save yet - no rna properties can be defined - no insert/remove keymap options yet - no option yet to set 'key press/release' But what does work; - Keymap list is in outliner, new category (Keymaps are listed in order as being created now) - enable/disable a keymap entry: click on dot icon - it displays python api names for ops - browse new operator for keymap (menu button) - set keymap to use other keys, mouse or tweak events - four modifier key options I first intent to test it all well, there are still quite some modal map conflicts (like border select) and there's problems assigning items to tweaks Another issue is that a visual editor for keymaps might be quite hard to use... the amount of data and options is just not so fun for a buttons menu. There are ways to improve this though. Maybe do this via a script? |
Commit Details:
Full Hash: 9ac754eca5466d62abed6d207d1efdbbb7d77b18
SVN Revision: 21925
Parent Commit: 7084447
Lines Changed: +377, -17
14 Modified Paths:
/source/blender/editors/animation/anim_markers.c (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+5, -2) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -0) (Diff)
/source/blender/editors/space_outliner/outliner.c (+304, -5) (Diff)
/source/blender/editors/space_outliner/outliner_header.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+23, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+10, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+14, -6) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+5, -2) (Diff)
/source/blender/editors/interface/view2d_ops.c (+6, -0) (Diff)
/source/blender/editors/space_outliner/outliner.c (+304, -5) (Diff)
/source/blender/editors/space_outliner/outliner_header.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+23, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+10, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+14, -6) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)