diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 13:15:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 13:20:42 +0300 |
commit | 8ff3f7f6013f730f5325dbcbbfcb4e78fae19bbb (patch) | |
tree | 1b86f81c4043224945be22efac67e277006b05d0 /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | 30bffb5a3afa2fde165d4fb63a115310d5ddc3e3 (diff) |
Cleanup: move WM type registration into own files
Type registration is mostly boiler plate logic,
which can be separated from other API's.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 449a0a91a01..088327fa611 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -166,6 +166,8 @@ void WM_init(bContext *C, int argc, const char **argv) BKE_addon_pref_type_init(); wm_operatortype_init(); + wm_operatortypes_register(); + WM_menutype_init(); WM_uilisttype_init(); |