diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-07 16:37:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-07 16:37:15 +0400 |
commit | 8fa17c5362a09d023bda999d4595f1762e5f52b9 (patch) | |
tree | 6d380e3f336e2740a24eead833501384df658fdd /source/blender/modifiers | |
parent | 6482351ed9c3e022e02933709e4df1407a2ffbef (diff) |
code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index 5a749902a0c..d3e54651eea 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -293,7 +293,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, edge_users= MEM_mallocN(sizeof(int) * numEdges, "solid_mod edges"); edge_order= MEM_mallocN(sizeof(char) * numEdges, "solid_mod eorder"); - memset(edge_users, INVALID_UNUSED, sizeof(int) * numEdges); + fill_vn_i(edge_users, numEdges, INVALID_UNUSED); for (i=0, mp=orig_mpoly; i<numFaces; i++, mp++) { MLoop *ml; |