remove 'register' from drag-toggle operator (so it doesn't show in the redo panel).
update credits script.
This commit is contained in:
@@ -1279,7 +1279,7 @@ static void UI_OT_drag_toggle(wmOperatorType *ot)
|
|||||||
ot->cancel = ui_drag_toggle_cancel;
|
ot->cancel = ui_drag_toggle_cancel;
|
||||||
|
|
||||||
/* flags */
|
/* flags */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
|
ot->flag = OPTYPE_UNDO | OPTYPE_INTERNAL;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
RNA_def_boolean(ot->srna, "state", true, "State", "");
|
RNA_def_boolean(ot->srna, "state", true, "State", "");
|
||||||
|
Reference in New Issue
Block a user