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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Mon Mar 30 10:32:55 CDT 2009


Author: janehu
Date: 2009-03-30 10:32:54 -0500 (Mon, 30 Mar 2009)
New Revision: 2775

Modified:
   cgm/trunk/geom/OCC/OCCShapeAttributeSet.cpp
Log:
fixed for read_geometry function for brep files with attribute reported by Jed Brown.

Modified: cgm/trunk/geom/OCC/OCCShapeAttributeSet.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCShapeAttributeSet.cpp	2009-03-29 16:09:55 UTC (rev 2774)
+++ cgm/trunk/geom/OCC/OCCShapeAttributeSet.cpp	2009-03-30 15:32:54 UTC (rev 2775)
@@ -426,6 +426,7 @@
     type = buffer.substr( 0, i );
 
     CubitString* string_prt = new CubitString(type.c_str());
+    strings.clean_out();
     strings.append(string_prt);
 
     IS >> buffer;



More information about the cgma-dev mailing list