From: Alan Troth Date: Tue, 25 Sep 2018 16:29:56 +0000 (+0200) Subject: Fix UV edit smart stitch not redoing correctly. X-Git-Tag: v2.80-rc1~1187^2~453 X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender.git/commitdiff_plain/d95a8988ea031a8d92a9e140b5a1dfcd6a5562da Fix UV edit smart stitch not redoing correctly. Differential Revision: https://developer.blender.org/D3687 --- diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index 9699d74c86b..869009d1bdf 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -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;