summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-16 23:11:08 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-16 23:11:08 (GMT)
commitd05ea4453b875870375884d6671ca4f0cea624d8 (patch)
tree53ca5894e2f8d11afa33cbeaffb67bd9f15da1d2 /mainwin.cc
parentcc3291a4f1def85273e0e1cc6e43bb0079965946 (diff)
Clifford Wolf:
Added first steps towards dxf extrusion support git-svn-id: http://svn.clifford.at/openscad/trunk@57 b57f626f-c46c-0410-a088-ec61d464b74c
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