From d95a8988ea031a8d92a9e140b5a1dfcd6a5562da Mon Sep 17 00:00:00 2001 From: Alan Troth Date: Tue, 25 Sep 2018 18:29:56 +0200 Subject: [PATCH] Fix UV edit smart stitch not redoing correctly. Differential Revision: https://developer.blender.org/D3687 --- source/blender/editors/uvedit/uvedit_smart_stitch.c | 1 + 1 file changed, 1 insertion(+) 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;