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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 18:04:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 18:04:27 +0300
commit1eed46c788f1c9e0d92985857bdbf5a7045f6791 (patch)
tree41af1e5f961d9fc62214b0498bb4cc0d2b07656f /source/blender/modifiers/intern/MOD_mirror.c
parent78fbd146f3cd9a5c97307ff6f2d14422e7ae54b9 (diff)
Cleanup: trailing space for modifiers
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mirror.c')
-rw-r--r--source/blender/modifiers/intern/MOD_mirror.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c
index 23ee6379dee..3f6480562d9 100644
--- a/source/blender/modifiers/intern/MOD_mirror.c
+++ b/source/blender/modifiers/intern/MOD_mirror.c
@@ -200,7 +200,7 @@ static DerivedMesh *doMirrorOnAxis(
vtmap_b++;
}
}
-
+
/* handle shape keys */
totshape = CustomData_number_of_layers(&result->vertData, CD_SHAPEKEY);
for (a = 0; a < totshape; a++) {
@@ -209,14 +209,14 @@ static DerivedMesh *doMirrorOnAxis(
mul_m4_v3(mtx, cos[i]);
}
}
-
+
/* adjust mirrored edge vertex indices */
me = CDDM_get_edges(result) + maxEdges;
for (i = 0; i < maxEdges; i++, me++) {
me->v1 += maxVerts;
me->v2 += maxVerts;
}
-
+
/* adjust mirrored poly loopstart indices, and reverse loop order (normals) */
mp = CDDM_get_polys(result) + maxPolys;
ml = CDDM_get_loops(result);
@@ -236,7 +236,7 @@ static DerivedMesh *doMirrorOnAxis(
ml2[j].e = ml2[j + 1].e;
}
ml2[mp->totloop - 1].e = e;
-
+
mp->loopstart += maxLoops;
}
@@ -274,7 +274,7 @@ static DerivedMesh *doMirrorOnAxis(
int *flip_map = NULL, flip_map_len = 0;
flip_map = defgroup_flip_map(ob, &flip_map_len, false);
-
+
if (flip_map) {
for (i = 0; i < maxVerts; dvert++, i++) {
/* merged vertices get both groups, others get flipped */
@@ -336,7 +336,7 @@ static DerivedMesh *applyModifier(
if (result != derivedData)
result->dirty |= DM_DIRTY_NORMALS;
-
+
return result;
}