summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 9ee4d9d..a0ce9b0 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -1215,7 +1215,9 @@ void MainWindow::actionExportDXF()
void MainWindow::actionFlushCaches()
{
PolySet::ps_cache.clear();
+#ifdef ENABLE_CGAL
AbstractNode::cgal_nef_cache.clear();
+#endif
dxf_dim_cache.clear();
dxf_cross_cache.clear();
}
contact: Jan Huwald // Impressum