[cgma-dev] r2764 - cgm/trunk/test
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Fri Mar 27 11:37:37 CDT 2009
Author: janehu
Date: 2009-03-27 11:37:36 -0500 (Fri, 27 Mar 2009)
New Revision: 2764
Modified:
cgm/trunk/test/modify.cpp
Log:
fixed the nightly build problem.
Modified: cgm/trunk/test/modify.cpp
===================================================================
--- cgm/trunk/test/modify.cpp 2009-03-26 22:44:39 UTC (rev 2763)
+++ cgm/trunk/test/modify.cpp 2009-03-27 16:37:36 UTC (rev 2764)
@@ -149,10 +149,11 @@
//make a sheet surfaces to do fillet on vertices
DLIList<RefFace*> ref_faces;
- body2->ref_faces(ref_faces);
+ body->ref_faces(ref_faces);
RefFace* face = gmti->make_RefFace(ref_faces.get());
+ Body* sheet_body = face->body();
away *= 5;
- gti->translate(face, away);
+ gti->translate(sheet_body, away);
ref_vertices2.clean_out();
ref_vertices.clean_out();
face->ref_vertices(ref_vertices2);
@@ -161,15 +162,15 @@
ref_vertices.append(ref_vertices2.pop());
status = gmti->tweak_fillet(ref_vertices2, 1, new_bodies);
- ref_edges.clean_out();
- new_bodies.get()->ref_edges(ref_edges);
- isize=ref_edges.size();
+ DLIList<RefEdge*> ref_edges_check;
+ new_bodies.get()->ref_edges(ref_edges_check);
+ isize=ref_edges_check.size();
//isize = 6
status = gmti->tweak_chamfer(ref_vertices, 1, new_bodies);
- ref_edges.clean_out();
- new_bodies.get()->ref_edges(ref_edges);
- isize=ref_edges.size();
+ ref_edges_check.clean_out();
+ new_bodies.get()->ref_edges(ref_edges_check);
+ isize=ref_edges_check.size();
//isize = 8
new_bodies.clean_out();
More information about the cgma-dev
mailing list