summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-10 13:32:22 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-10 13:32:22 (GMT)
commite3f339813c3a286eb4ac438aa32e2003b6ecab8a (patch)
tree277fe3bb4a831535ee47eea844dec1e1395d7025 /mainwin.cc
parent53f26d0308501ebf1d755553f8680bef6f838344 (diff)
Clifford Wolf:
Cache dxf_dim and dxf_cross results (massive speedup in designs using this functions) git-svn-id: http://svn.clifford.at/openscad/trunk@261 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index b60f095..2510353 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -1133,6 +1133,8 @@ void MainWindow::actionFlushCaches()
{
PolySet::ps_cache.clear();
AbstractNode::cgal_nef_cache.clear();
+ dxf_dim_cache.clear();
+ dxf_cross_cache.clear();
}
void MainWindow::viewModeActionsUncheck()
contact: Jan Huwald // Impressum