From 7abc66ba4232a1718d5eb67313f600ed5d77956f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Dec 2011 18:52:18 +0000 Subject: add WM_operator_call_notest() for operators that need to call themselves within invoke functions without being freed. --- source/blender/windowmanager/WM_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/windowmanager/WM_api.h') diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 5bd95ac2106..61c3da36203 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -191,6 +191,7 @@ struct wmOperatorTypeMacro *WM_operatortype_macro_define(struct wmOperatorType * int WM_operator_poll (struct bContext *C, struct wmOperatorType *ot); int WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, int context); int WM_operator_call (struct bContext *C, struct wmOperator *op); +int WM_operator_call_notest(struct bContext *C, struct wmOperator *op); int WM_operator_repeat (struct bContext *C, struct wmOperator *op); int WM_operator_repeat_check(const struct bContext *C, struct wmOperator *op); int WM_operator_name_call (struct bContext *C, const char *opstring, int context, struct PointerRNA *properties); -- cgit v1.2.3