diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-07 20:12:32 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-07 20:12:32 +0300 |
commit | 016168652fbfb1993247736bbd3398a0a61217f1 (patch) | |
tree | b493de9f5891898f8dd7691bd7e860c59a73e3f5 /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | 4e4c1a0ea05d31680c5c4ea2dfdc863d3cb06157 (diff) |
Allow separate widget data per editor.
To make this work, we need separate type/instance for the widgets. This
is a bit ugly but it is necessary if we want widgets on each editor to
depend of per editor-options or visibility state.
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, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index d54fc578702..01861058fb2 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -440,7 +440,7 @@ void WM_exit_ext(bContext *C, const bool do_python) BKE_addon_pref_type_free(); wm_operatortype_free(); wm_dropbox_free(); - WM_widgetmaps_free(); + WM_widgetmaptypes_free(); WM_menutype_free(); WM_uilisttype_free(); |