summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CGALRenderer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CGALRenderer.cc b/src/CGALRenderer.cc
index c9cfd6d..b758b93 100644
--- a/src/CGALRenderer.cc
+++ b/src/CGALRenderer.cc
@@ -60,6 +60,10 @@ CGALRenderer::CGALRenderer(const CGAL_Nef_polyhedron &root) : root(root)
CGAL::OGL::Nef3_Converter<CGAL_Nef_polyhedron3>::convert_to_OGLPolyhedron(*this->root.p3, this->polyhedron);
this->polyhedron->init();
}
+ else {
+ this->polyhedron = NULL;
+ this->polyset = NULL;
+ }
}
CGALRenderer::~CGALRenderer()
contact: Jan Huwald // Impressum