diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-18 23:40:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-18 23:40:26 +0400 |
commit | 9b75187c55831030d9ba73ac9f2bd17b406be28d (patch) | |
tree | 4433fa097dd41196eaa69f2b9a7317f33d18d3ae /source/blender/windowmanager/WM_api.h | |
parent | 119844eb23718870df614a68a035573e9c5e4e11 (diff) |
initialize keymaps after python so python keymaps, solves the problem of keymaps complaining about python operators not existing, but at the expense of some annoying init flags/functions. :/
Brecht/Ton you may want to check that C->data.py_init is a good place to store this.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index a5e1df1669a..3615df8bd3b 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -72,6 +72,7 @@ void *WM_paint_cursor_activate(struct wmWindowManager *wm, int (*poll)(struct b void WM_paint_cursor_end(struct wmWindowManager *wm, void *handle); /* keymap */ +void WM_keymap_init (struct bContext *C); wmKeymapItem *WM_keymap_verify_item(ListBase *lb, char *idname, short type, short val, int modifier, short keymodifier); wmKeymapItem *WM_keymap_add_item(ListBase *lb, char *idname, short type, |