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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-05-03 03:29:52 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-03 03:29:52 +0400
commit6f0cb140b0af6c7af6d2bce61db596975ad967c5 (patch)
treeeffeddf97b45e9d280ab4a47f0da59b1d57190bd /source/blender/bmesh
parentf87682f631c38970736aee0dd5b66bc5b3d2fbb9 (diff)
Initialize an input in bmo_hull.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/operators/bmo_hull.c2
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;