Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Troth <Al>2018-09-25 19:29:56 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-25 19:36:14 +0300
commitd95a8988ea031a8d92a9e140b5a1dfcd6a5562da (patch)
treef08740ce8673b1b812c85a83feaf5fcbdf7cff8a /source/blender/editors/uvedit/uvedit_smart_stitch.c
parent5960254045d94ab06976138f52bac7f5f301cace (diff)
Fix UV edit smart stitch not redoing correctly.
Differential Revision: https://developer.blender.org/D3687
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_smart_stitch.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_smart_stitch.c1
1 files changed, 1 insertions, 0 deletions
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;