[cgma-dev] r6073 - cgm/trunk/geom/OCC

janehu at mcs.anl.gov janehu at mcs.anl.gov
Wed Oct 9 12:23:53 CDT 2013


Author: janehu
Date: 2013-10-09 12:23:53 -0500 (Wed, 09 Oct 2013)
New Revision: 6073

Modified:
   cgm/trunk/geom/OCC/OCCModifyEngine.cpp
Log:
Fixed the unite bug reported through cylinders.cpp.

Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCModifyEngine.cpp	2013-10-07 16:14:32 UTC (rev 6072)
+++ cgm/trunk/geom/OCC/OCCModifyEngine.cpp	2013-10-09 17:23:53 UTC (rev 6073)
@@ -4921,6 +4921,9 @@
     CubitBoolean intersect = false; 
     shape_list.reset();
     int size = shape_list.size();
+
+    overlaped_bodies.clean_out();
+    overlap_shapes.clean_out();
     for (int k = 0 ; k < size; k++)
     {
       TopoDS_Shape *shape2 = shape_list.get();



More information about the cgma-dev mailing list