WM: free operators when repeating

Needed since the active operator isn't ensured to be the last.
This commit is contained in:
2017-03-15 05:16:07 +11:00
parent 647fb6ef1e
commit f13c729b26
4 changed files with 18 additions and 1 deletions

View File

@@ -252,6 +252,7 @@ int WM_operator_confirm_message(struct bContext *C, struct wmOperator *o
/* operator api */
void WM_operator_free (struct wmOperator *op);
void WM_operator_free_all_after(wmWindowManager *wm, struct wmOperator *op);
void WM_operator_type_set(struct wmOperator *op, struct wmOperatorType *ot);
void WM_operator_stack_clear(struct wmWindowManager *wm);
void WM_operator_handlers_clear(wmWindowManager *wm, struct wmOperatorType *ot);