summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-01 10:01:05 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-01 10:01:05 (GMT)
commit51ae2483733a75c8e7fbaa8abe7f7b0a999c1db0 (patch)
tree069262f86a94536c4e3983b78367e43fb00f1fa7 /src/mainwin.cc
parent07bc7dbecd8ed226ab950ee2b493ce3df2e5a8e0 (diff)
Clifford Wolf:
Fixed building without CGAL git-svn-id: http://svn.clifford.at/openscad/trunk@406 b57f626f-c46c-0410-a088-ec61d464b74c
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