UI: disable register for insert text
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 21:24:33 +0000 (07:24 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Sep 2018 23:20:02 +0000 (09:20 +1000)
Hides redo panel.

source/blender/editors/curve/editfont.c

index 06daa2688c5dd482f28f9bb2a620c87e227ba615..0275cb68550c0e6e23f2e3aa4266cf43f976e947 100644 (file)
@@ -1431,7 +1431,7 @@ void FONT_OT_text_insert(wmOperatorType *ot)
        ot->poll = ED_operator_editfont;
 
        /* flags */
-       ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+       ot->flag = OPTYPE_UNDO;
 
        /* properties */
        RNA_def_string(ot->srna, "text", NULL, 0, "Text", "Text to insert at the cursor position");