diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 15:56:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-06 15:56:54 +0400 |
commit | fc6dcdf17f6f3c313a9c15fbfd38754edbf8ab64 (patch) | |
tree | c12ed169d40b0b133230d1afd484cb72be07a2ff /source/blender/editors/util/undo.c | |
parent | a43309e8d4fc09d31acb4030b13f1c22c9ddf22a (diff) |
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.
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r-- | source/blender/editors/util/undo.c | 2 |
1 files changed, 2 insertions, 0 deletions
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", ""); } |