[cgma-dev] r5301 - cgm/trunk/geom/OCC
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Tue Jan 10 12:30:43 CST 2012
Author: janehu
Date: 2012-01-10 12:30:42 -0600 (Tue, 10 Jan 2012)
New Revision: 5301
Modified:
cgm/trunk/geom/OCC/OCCModifyEngine.cpp
Log:
Added copy_attribute call to curve copy function. There's no vertex copy function, this is achieved by create vertex on location, so no copy attribute issue here.
Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCModifyEngine.cpp 2012-01-10 10:21:25 UTC (rev 5300)
+++ cgm/trunk/geom/OCC/OCCModifyEngine.cpp 2012-01-10 18:30:42 UTC (rev 5301)
@@ -221,6 +221,8 @@
TopoDS_Edge newEdge = TopoDS::Edge(newShape);
+ OCCQueryEngine::instance()->copy_attributes(*theEdge, newEdge);
+
return OCCQueryEngine::instance()->populate_topology_bridge(newEdge, true);
}
More information about the cgma-dev
mailing list