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_skin.c
parent4f29aeeff2cfe1dbe0a12910932c48ee453a6de1 (diff)
code cleanup: more confusion with 0/NULL/false
Diffstat (limited to 'source/blender/modifiers/intern/MOD_skin.c')
-rw-r--r--source/blender/modifiers/intern/MOD_skin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c
index 56571f69e09..83ac9f34df3 100644
--- a/source/blender/modifiers/intern/MOD_skin.c
+++ b/source/blender/modifiers/intern/MOD_skin.c
@@ -1751,7 +1751,7 @@ static void skin_set_orig_indices(DerivedMesh *dm)
totpoly = dm->getNumPolys(dm);
orig = CustomData_add_layer(&dm->polyData, CD_ORIGINDEX,
- CD_CALLOC, 0, totpoly);
+ CD_CALLOC, NULL, totpoly);
for (i = 0; i < totpoly; i++)
orig[i] = ORIGINDEX_NONE;
}