summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
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