summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 2cd16be..89d17c5 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -1114,16 +1114,18 @@ void MainWindow::actionReloadCompile()
compile(true);
if (this->root_node) compileCSG(true);
+ // Go to non-CGAL view mode
+ if (viewActionThrownTogether->isChecked()) {
+ viewModeThrownTogether();
+ }
+ else {
#ifdef ENABLE_OPENCSG
- if (!(viewActionOpenCSG->isVisible() && viewActionOpenCSG->isChecked()) &&
- !viewActionThrownTogether->isChecked()) {
viewModeOpenCSG();
- }
- else
+#else
+ viewModeThrownTogether();
#endif
- {
- this->glview->updateGL();
}
+
clearCurrentOutput();
}
@@ -1489,6 +1491,7 @@ void MainWindow::actionFlushCaches()
#endif
dxf_dim_cache.clear();
dxf_cross_cache.clear();
+ Module::libs_cache.clear();
}
void MainWindow::viewModeActionsUncheck()
contact: Jan Huwald // Impressum