From fc6dcdf17f6f3c313a9c15fbfd38754edbf8ab64 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jun 2011 11:56:54 +0000 Subject: bug [#27582] Screen Editing > Split and Join area don't work. added 'INTERNAL' operator flag so operators which are only meant to be called by other operators or internal use are not displayed to the user. Currently only use this flag for the operator search toolbox, is ignored in debug mode. --- source/blender/editors/util/undo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/util') diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 692a19a7198..24a868891de 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -307,6 +307,8 @@ void ED_OT_undo_push(wmOperatorType *ot) /* api callbacks */ ot->exec= ed_undo_push_exec; + ot->flag= OPTYPE_INTERNAL; + RNA_def_string(ot->srna, "message", "Add an undo step *function may be moved*", MAXUNDONAME, "Undo Message", ""); } -- cgit v1.2.3