diff options
Diffstat (limited to 'src/export_png.cc')
-rw-r--r-- | src/export_png.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/export_png.cc b/src/export_png.cc index d983bc1..fb31917 100644 --- a/src/export_png.cc +++ b/src/export_png.cc @@ -43,10 +43,7 @@ void export_png_with_cgal(CGAL_Nef_polyhedron *root_N, std::ostream &output) csgInfo.glview->setCamera(camerapos, center); csgInfo.glview->setRenderer(&cgalRenderer); csgInfo.glview->paintGL(); - csgInfo.glview->save("test.png"); - - output << "solid OpenSCAD_Model\n"; - output << "endsolid OpenSCAD_Model\n"; + csgInfo.glview->save(output); } void export_png_with_opencsg(CGAL_Nef_polyhedron *root_N, std::ostream &output) |