summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 12b0c11..c1d4428 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -645,6 +645,7 @@ void MainWindow::actionExportSTL()
{
current_win = this;
+#ifdef ENABLE_CGAL
if (!root_N) {
PRINT("Nothing to export! Try building first (press F6).");
current_win = NULL;
@@ -736,6 +737,7 @@ void MainWindow::actionExportSTL()
PRINT("STL export finished.");
delete pd;
+#endif /* ENABLE_CGAL */
current_win = NULL;
}
contact: Jan Huwald // Impressum