summaryrefslogtreecommitdiff
path: root/src/export_png.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-26 00:36:55 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-26 00:36:55 (GMT)
commitc116a0849c7531ec4d0e59b6d61aaf6137dcd568 (patch)
tree39a8de4972d00aff8baaa05a51fda66d75fc6cdb /src/export_png.cc
parente80d847e3d9249d22bf70f257df7b2130487b211 (diff)
undo experiment with object orientation
Diffstat (limited to 'src/export_png.cc')
-rw-r--r--src/export_png.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export_png.cc b/src/export_png.cc
index 16e2a69..d983bc1 100644
--- a/src/export_png.cc
+++ b/src/export_png.cc
@@ -17,6 +17,7 @@ void export_png_with_cgal(CGAL_Nef_polyhedron *root_N, std::ostream &output)
csgInfo.glview = new OffscreenView(512,512);
} catch (int error) {
fprintf(stderr,"Can't create OpenGL OffscreenView. Code: %i.\n", error);
+ return;
}
CGALRenderer cgalRenderer(*root_N);
contact: Jan Huwald // Impressum