Added cancel callbacks to modal operators which allocates memory

in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
This commit is contained in:
2011-06-06 11:04:54 +00:00
parent 4d0026f7b9
commit a43309e8d4
26 changed files with 242 additions and 19 deletions

View File

@@ -344,6 +344,7 @@ void GRAPH_OT_select_border(wmOperatorType *ot)
ot->invoke= WM_border_select_invoke;
ot->exec= graphkeys_borderselect_exec;
ot->modal= WM_border_select_modal;
ot->cancel= WM_border_select_cancel;
ot->poll= graphop_visible_keyframes_poll;