[cgma-dev] r5576 - cgm/trunk/geom/OCC
jain at mcs.anl.gov
jain at mcs.anl.gov
Thu Jun 14 12:55:26 CDT 2012
Author: jain
Date: 2012-06-14 12:55:25 -0500 (Thu, 14 Jun 2012)
New Revision: 5576
Modified:
cgm/trunk/geom/OCC/OCCBody.cpp
Log:
Fix testgeom_occ, subtract and other tests that were failing on MacOSX only, the fuction should have returned a value on all branches.
Modified: cgm/trunk/geom/OCC/OCCBody.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCBody.cpp 2012-06-14 15:37:03 UTC (rev 5575)
+++ cgm/trunk/geom/OCC/OCCBody.cpp 2012-06-14 17:55:25 UTC (rev 5576)
@@ -85,6 +85,7 @@
assert(myTopoDSShape->ShapeType() == TopAbs_COMPOUND);
return myTopoDSShape;
}
+ return 0;
}
void OCCBody::get_TopoDS_Shape(TopoDS_Shape *& shape)
More information about the cgma-dev
mailing list