UI: disable undo for cycling render slot

This wasn't working and used extra undo steps.
This commit is contained in:
Campbell Barton
2016-02-23 20:58:09 +11:00
parent 90e9da423b
commit 9c68ffc3b4

View File

@@ -3315,7 +3315,7 @@ void IMAGE_OT_cycle_render_slot(wmOperatorType *ot)
ot->poll = image_cycle_render_slot_poll;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
ot->flag = OPTYPE_REGISTER;
RNA_def_boolean(ot->srna, "reverse", 0, "Cycle in Reverse", "");
}