diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-14 08:21:20 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-14 08:21:20 +0300 |
commit | b886f7ada0d592398ea6de6e36bd767d09ce2407 (patch) | |
tree | 08359ca1ff8926d41223eac0c4ea4caab9330c0b /source | |
parent | 874ef4c747440740125bbf32e558670c30ea2a0d (diff) |
Fix for previous properties editor crash, only remove ui handlers
on new screens. Was preventing openGL render and possibly other
things from working
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index f38f14e5315..a940c6054fa 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -1629,7 +1629,7 @@ void WM_event_remove_area_handler(ListBase *handlers, void *area) for(handler = handlers->first; handler; handler= nexthandler) { nexthandler = handler->next; if (handler->type != WM_HANDLER_FILESELECT) { - if (handler->ui_area == area || handler->op_area == area) { + if (handler->ui_area == area) { BLI_remlink(handlers, handler); wm_event_free_handler(handler); } |