[MOAB-dev] r1291 - MOAB/trunk
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Tue Sep 25 18:32:39 CDT 2007
Author: kraftche
Date: 2007-09-25 18:32:39 -0500 (Tue, 25 Sep 2007)
New Revision: 1291
Modified:
MOAB/trunk/MBOrientedBoxTreeTool.cpp
Log:
Fix bug: MBOrientedBoxTreeTool::sphere_intersect_triangles returns wrong surface handle
Modified: MOAB/trunk/MBOrientedBoxTreeTool.cpp
===================================================================
--- MOAB/trunk/MBOrientedBoxTreeTool.cpp 2007-09-25 19:41:38 UTC (rev 1290)
+++ MOAB/trunk/MBOrientedBoxTreeTool.cpp 2007-09-25 23:32:39 UTC (rev 1291)
@@ -516,6 +516,7 @@
rval = get_moab_instance()->get_entities_by_type( node, MBENTITYSET, sets );
if (!sets.empty())
surf = sets.front();
+ sets.clear();
}
// check if sphere intersects box
More information about the moab-dev
mailing list