diff options
-rw-r--r-- | src/mainwin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 0767a05..5dee4a7 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1029,7 +1029,11 @@ void MainWindow::actionCompile() // Go to non-CGAL view mode if (!viewActionOpenCSG->isChecked() && !viewActionThrownTogether->isChecked()) { +#ifdef ENABLE_OPENCSG viewModeOpenCSG(); +#else + viewModeThrownTogether(); +#endif } else { screen->updateGL(); |