remove 'register' from drag-toggle operator (so it doesn't show in the redo panel).

update credits script.
This commit is contained in:
Campbell Barton
2013-02-22 11:06:25 +00:00
parent 6f0cbba0d3
commit 5f09090cad

View File

@@ -1279,7 +1279,7 @@ static void UI_OT_drag_toggle(wmOperatorType *ot)
ot->cancel = ui_drag_toggle_cancel;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
/* properties */
RNA_def_boolean(ot->srna, "state", true, "State", "");