summaryrefslogtreecommitdiff
path: root/src/export_png.cc
diff options
context:
space:
mode:
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 a8c7620..f185e3d 100644
--- a/src/export_png.cc
+++ b/src/export_png.cc
@@ -78,6 +78,7 @@ void export_png_with_opencsg(Tree &tree, Camera &cam, std::ostream &output)
OpenCSGRenderer opencsgRenderer(csgInfo.root_chain, csgInfo.highlights_chain, csgInfo.background_chain, csgInfo.glview->shaderinfo);
if (cam.type == Camera::NONE) {
+ cam.type = Camera::VECTOR;
cam.center << 0,0,0;
double radius = 1.0;
if (csgInfo.root_chain) {
contact: Jan Huwald // Impressum