Fix UV edit smart stitch not redoing correctly.

Differential Revision: https://developer.blender.org/D3687
This commit is contained in:
Alan Troth
2018-09-25 18:29:56 +02:00
committed by Brecht Van Lommel
parent 5960254045
commit d95a8988ea

View File

@@ -2002,6 +2002,7 @@ static void stitch_exit(bContext *C, wmOperator *op, int finished)
RNA_enum_set(op->ptr, "stored_mode", state->mode);
/* Store selection for re-execution of stitch */
RNA_collection_clear(op->ptr, "selection");
for (i = 0; i < state->selection_size; i++) {
UvElement *element;
PointerRNA itemptr;