diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-05-03 03:29:52 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-05-03 03:29:52 +0400 |
commit | 6f0cb140b0af6c7af6d2bce61db596975ad967c5 (patch) | |
tree | effeddf97b45e9d280ab4a47f0da59b1d57190bd /source/blender/bmesh/operators | |
parent | f87682f631c38970736aee0dd5b66bc5b3d2fbb9 (diff) |
Initialize an input in bmo_hull.
Diffstat (limited to 'source/blender/bmesh/operators')
-rw-r--r-- | source/blender/bmesh/operators/bmo_hull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c index f2ef777c952..700480be01c 100644 --- a/source/blender/bmesh/operators/bmo_hull.c +++ b/source/blender/bmesh/operators/bmo_hull.c @@ -414,6 +414,7 @@ static int hull_find_large_tetrahedron(BMesh *bm, BMOperator *op, float widest_axis_len, largest_dist, plane_normal[3]; int i, j, widest_axis; + tetra[0] = tetra[1] = tetra[2] = tetra[3] = NULL; hull_get_min_max(bm, op, min, max); /* Check for flat axis */ @@ -442,7 +443,6 @@ static int hull_find_large_tetrahedron(BMesh *bm, BMOperator *op, /* Choose third vertex farthest from existing line segment */ largest_dist = 0; - tetra[2] = NULL; for (i = 0; i < 3; i++) { BMVert *v; float dist; |