diff options
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 9b24eea..8eebf09 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -25,6 +25,7 @@ */ #include "PolySetCache.h" +#include "ModuleCache.h" #include "MainWindow.h" #include "openscad.h" // examplesdir #include "parsersettings.h" @@ -695,6 +696,8 @@ void MainWindow::compile(bool procevents) goto fail; } + this->root_module->handleDependencies(); + // Evaluate CSG tree PRINT("Compiling design (CSG Tree generation)..."); if (procevents) @@ -1449,7 +1452,7 @@ void MainWindow::actionFlushCaches() #endif dxf_dim_cache.clear(); dxf_cross_cache.clear(); - Module::clear_library_cache(); + ModuleCache::instance()->clear(); } void MainWindow::viewModeActionsUncheck() @@ -1797,7 +1800,7 @@ void MainWindow::consoleOutput(const std::string &msg, void *userdata) void MainWindow::setCurrentOutput() { - set_output_handler(&MainWindow::consoleOutput, this); +// set_output_handler(&MainWindow::consoleOutput, this); } void MainWindow::clearCurrentOutput() |