Clifford Wolf:

Disabled dxftess.cc debug output



git-svn-id: http://svn.clifford.at/openscad/trunk@221 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
clifford 2010-01-06 19:58:29 +00:00
parent 6fdfde289b
commit 9326da227b
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, double rot, bool up, bool do_trian
gluTessEndPolygon(tobj);
gluDeleteTess(tobj);
#if 1
#if 0
for (int i = 0; i < tess_tri.count(); i++) {
printf("~~~\n");
printf(" %f %f %f\n", tess_tri[i].p[0][0], tess_tri[i].p[0][1], tess_tri[i].p[0][2]);
@ -268,7 +268,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, double rot, bool up, bool do_trian
if (point_on_line(tess_tri[i].p[0], tess_tri[i].p[1], tess_tri[i].p[2]) ||
point_on_line(tess_tri[i].p[1], tess_tri[i].p[2], tess_tri[i].p[0]) ||
point_on_line(tess_tri[i].p[2], tess_tri[i].p[0], tess_tri[i].p[1])) {
printf("DEBUG: Removed triangle\n");
// printf("DEBUG: Removed triangle\n");
tess_tri.remove(i--);
}
}