[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46212] trunk/blender/source/blender/bmesh /operators/bmo_hull.c: Initialize an input in bmo_hull.
Nicholas Bishop
nicholasbishop at gmail.com
Thu May 3 01:29:53 CEST 2012
Revision: 46212
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46212
Author: nicholasbishop
Date: 2012-05-02 23:29:52 +0000 (Wed, 02 May 2012)
Log Message:
-----------
Initialize an input in bmo_hull.
Modified Paths:
--------------
trunk/blender/source/blender/bmesh/operators/bmo_hull.c
Modified: trunk/blender/source/blender/bmesh/operators/bmo_hull.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_hull.c 2012-05-02 20:53:06 UTC (rev 46211)
+++ trunk/blender/source/blender/bmesh/operators/bmo_hull.c 2012-05-02 23:29:52 UTC (rev 46212)
@@ -414,6 +414,7 @@
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 @@
/* Choose third vertex farthest from existing line segment */
largest_dist = 0;
- tetra[2] = NULL;
for (i = 0; i < 3; i++) {
BMVert *v;
float dist;
More information about the Bf-blender-cvs
mailing list