[Bf-blender-cvs] [d95a8988ea0] master: Fix UV edit smart stitch not redoing correctly.

Alan Troth noreply at git.blender.org
Tue Sep 25 18:38:57 CEST 2018


Commit: d95a8988ea031a8d92a9e140b5a1dfcd6a5562da
Author: Alan Troth
Date:   Tue Sep 25 18:29:56 2018 +0200
Branches: master
https://developer.blender.org/rBd95a8988ea031a8d92a9e140b5a1dfcd6a5562da

Fix UV edit smart stitch not redoing correctly.

Differential Revision: https://developer.blender.org/D3687

===================================================================

M	source/blender/editors/uvedit/uvedit_smart_stitch.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list