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:
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_smart_stitch.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_smart_stitch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c
index b67747ead5a..9c99eb196c2 100644
--- a/source/blender/editors/uvedit/uvedit_smart_stitch.c
+++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c
@@ -1256,7 +1256,7 @@ static int stitch_init(bContext *C, wmOperator *op)
int faceIndex, elementIndex;
UvElement *element;
- EDBM_index_arrays_init(em, BM_FACE);
+ EDBM_index_arrays_ensure(em, BM_FACE);
RNA_BEGIN (op->ptr, itemptr, "selection")
{
@@ -1268,7 +1268,6 @@ static int stitch_init(bContext *C, wmOperator *op)
}
RNA_END;
- EDBM_index_arrays_free(em);
/* Clear the selection */
RNA_collection_clear(op->ptr, "selection");