summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-11 05:37:14 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-11 05:37:14 (GMT)
commit9afeded46c0e9023002dc04ba6131adcb39762b1 (patch)
tree0096a12ce36a5b39aa18d7ec5da45c05eb3d42dd /src/mainwin.cc
parentb087e68e5430c3dde6adfe452becbaba0f680196 (diff)
parentdc7eeb30d06a928a30ee47a765be3e5a61288d35 (diff)
Merge branch 'polyset-cleanup' into visitor
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 8dc1fea..e4d9684 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -790,6 +790,7 @@ void MainWindow::compileCSG(bool procevents)
if (procevents)
QApplication::processEvents();
}
+ psevaluator.printCache();
}
catch (ProgressCancelException e) {
PRINT("CSG generation cancelled.");
@@ -1225,6 +1226,7 @@ void MainWindow::actionRenderCGAL()
QHash<std::string, CGAL_Nef_polyhedron> cache;
CGALEvaluator evaluator(cache, this->tree);
this->root_N = new CGAL_Nef_polyhedron(evaluator.evaluateCGALMesh(*this->root_node));
+ evaluator.psevaluator.printCache();
}
catch (ProgressCancelException e) {
PRINT("Rendering cancelled.");
@@ -1495,7 +1497,7 @@ void MainWindow::actionExportImage()
void MainWindow::actionFlushCaches()
{
// FIXME: Polycache -> PolySetEvaluator
-// FIXME: PolySetEvaluator->clearCache();
+ PolySetEvaluator::clearCache();
#ifdef ENABLE_CGAL
// FIXME: Flush caches through whatever channels we have
// CGALEvaluator::evaluator()->getCache().clear();
contact: Jan Huwald // Impressum