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_surface.c
parent78fbd146f3cd9a5c97307ff6f2d14422e7ae54b9 (diff)
Cleanup: trailing space for modifiers
Diffstat (limited to 'source/blender/modifiers/intern/MOD_surface.c')
-rw-r--r--source/blender/modifiers/intern/MOD_surface.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/modifiers/intern/MOD_surface.c b/source/blender/modifiers/intern/MOD_surface.c
index cd65112fd1a..a64e05ffe1e 100644
--- a/source/blender/modifiers/intern/MOD_surface.c
+++ b/source/blender/modifiers/intern/MOD_surface.c
@@ -49,10 +49,10 @@
#include "MEM_guardedalloc.h"
-static void initData(ModifierData *md)
+static void initData(ModifierData *md)
{
SurfaceModifierData *surmd = (SurfaceModifierData *) md;
-
+
surmd->bvhtree = NULL;
}
@@ -72,7 +72,7 @@ static void freeData(ModifierData *md)
}
MEM_SAFE_FREE(surmd->x);
-
+
MEM_SAFE_FREE(surmd->v);
}
}
@@ -90,14 +90,14 @@ static void deformVerts(
ModifierApplyFlag UNUSED(flag))
{
SurfaceModifierData *surmd = (SurfaceModifierData *) md;
-
+
if (surmd->dm)
surmd->dm->release(surmd->dm);
/* if possible use/create DerivedMesh */
if (derivedData) surmd->dm = CDDM_copy(derivedData);
else surmd->dm = get_dm(ob, NULL, NULL, NULL, false, false);
-
+
if (!ob->pd) {
printf("SurfaceModifier deformVerts: Should not happen!\n");
return;
@@ -111,7 +111,7 @@ static void deformVerts(
CDDM_apply_vert_coords(surmd->dm, vertexCos);
CDDM_calc_normals(surmd->dm);
-
+
numverts = surmd->dm->getNumVerts(surmd->dm);
if (numverts != surmd->numverts ||
@@ -145,7 +145,7 @@ static void deformVerts(
v->co[0] = v->co[1] = v->co[2] = 0.0f;
else
sub_v3_v3v3(v->co, vec, x->co);
-
+
copy_v3_v3(x->co, vec);
}