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/bmesh/operators/subdivideop.c')
-rw-r--r--source/blender/bmesh/operators/subdivideop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/subdivideop.c b/source/blender/bmesh/operators/subdivideop.c
index e273a03b17a..ca2f5208589 100644
--- a/source/blender/bmesh/operators/subdivideop.c
+++ b/source/blender/bmesh/operators/subdivideop.c
@@ -876,9 +876,11 @@ void esubdivide_exec(BMesh *bmesh, BMOperator *op)
BLI_array_empty(verts);
pat = facedata[i].pat;
- if (!pat && facedata[i].totedgesel == 2) { /*ok, no pattern. we still may be able to do something.*/
+
+ if (!pat && facedata[i].totedgesel == 2) {
int vlen;
+ /*ok, no pattern. we still may be able to do something.*/
BLI_array_empty(loops);
BLI_array_empty(splits);