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>2013-08-07 07:55:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-07 07:55:21 +0400
commit00b39c4e5b91b4291bb41a0ea1f7413d8aeba9f9 (patch)
tree49140a0bdcbf9c2ffa885ac0d338f071ec09538e /source/blender/modifiers/intern/MOD_laplaciansmooth.c
parent4f29aeeff2cfe1dbe0a12910932c48ee453a6de1 (diff)
code cleanup: more confusion with 0/NULL/false
Diffstat (limited to 'source/blender/modifiers/intern/MOD_laplaciansmooth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_laplaciansmooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c
index 1abe1e97a23..3843ee6f535 100644
--- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c
+++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c
@@ -366,7 +366,7 @@ static void init_laplacian_matrix(LaplacianSystem *sys)
v1 = sys->vertexCos[idv1];
v2 = sys->vertexCos[idv2];
v3 = sys->vertexCos[idv3];
- v4 = has_4_vert ? sys->vertexCos[idv4] : 0;
+ v4 = has_4_vert ? sys->vertexCos[idv4] : NULL;
if (has_4_vert) {
areaf = area_quad_v3(v1, v2, v3, sys->vertexCos[sys->mfaces[i].v4]);