summaryrefslogtreecommitdiff
path: root/dxftess.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-21 22:12:50 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-21 22:12:50 (GMT)
commit5d23c974a342369c514328bab30d168f267086ba (patch)
tree8260f92579f962d2dabd7e0809d3dd9689ed614a /dxftess.cc
parentcb829a3fe04ababfd23105e6a2dcdc39cb9f2828 (diff)
Clifford Wolf:
Improved dxf path extraction git-svn-id: http://svn.clifford.at/openscad/trunk@63 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'dxftess.cc')
-rw-r--r--dxftess.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dxftess.cc b/dxftess.cc
index e62789f..9bb681b 100644
--- a/dxftess.cc
+++ b/dxftess.cc
@@ -199,6 +199,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, bool up, double h)
// GLU tessing might merge points into edges. This is ok for GL displaying but
// creates invalid polyeders for CGAL. So we split this tirangles up again in order
// to create polyeders that are also accepted by CGAL..
+#if 1
bool added_triangles = true;
while (added_triangles)
{
@@ -215,6 +216,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, bool up, double h)
}
}
}
+#endif
for (int i = 0; i < tess_tri.count(); i++) {
#if 0
contact: Jan Huwald // Impressum