diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-24 15:23:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-24 15:23:47 +0300 |
commit | a9568cc932df27cdf0c339f0b258f3854ff04378 (patch) | |
tree | 957de9942a1dd48ecebc36299425f4509e61fb1e /source/blender/src/verse_mesh.c | |
parent | 52a31e1e85600f93c3d6e959c175d2f0f4c52cd6 (diff) |
Fix for bug #8346: compiling with verse enabled was broken.
Fix provided by Fabian Boehlke, thanks!
Diffstat (limited to 'source/blender/src/verse_mesh.c')
-rw-r--r-- | source/blender/src/verse_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/verse_mesh.c b/source/blender/src/verse_mesh.c index 2257eac41f5..d458e7f4c1c 100644 --- a/source/blender/src/verse_mesh.c +++ b/source/blender/src/verse_mesh.c @@ -1495,8 +1495,8 @@ void create_meshdata_from_geom_node(Mesh *me, VNode *vnode) MEdge *medge = me->medge = CustomData_add_layer(&me->edata, CD_MEDGE, CD_CALLOC, NULL, me->totedge); for(i = BLI_edgehashIterator_new(edges); !BLI_edgehashIterator_isDone(i); BLI_edgehashIterator_step(i), ++medge) { + memset(medge, 0, sizeof(struct MEdge)); BLI_edgehashIterator_getKey(i, (int*)&medge->v1, (int*)&medge->v2); - medge->crease = medge->pad = medge->flag = 0; } BLI_edgehashIterator_free(i); } |