summaryrefslogtreecommitdiff
path: root/export.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-09 14:25:09 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-09 14:25:09 (GMT)
commit1a3769d5952b09c5cf1a6864bdf1925b380d8042 (patch)
tree6e2316450ff7c673dba14491f52f1a96aa847a00 /export.cc
parentc8baf2b227a23b1361a4fa160ef1c183ef24f431 (diff)
Extracted MainWindow.h from openscad.h, moved GUI definition to MainWindow.ui. NB! This is not thoroughly tested yet
git-svn-id: http://svn.clifford.at/openscad/trunk@155 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'export.cc')
-rw-r--r--export.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/export.cc b/export.cc
index 6d4356a..bf0fb18 100644
--- a/export.cc
+++ b/export.cc
@@ -21,6 +21,8 @@
#define INCLUDE_ABSTRACT_NODE_DETAILS
#include "openscad.h"
+#include "printutils.h"
+#include "MainWindow.h"
#include <QApplication>
@@ -39,7 +41,7 @@ void export_stl(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *
FILE *f = fopen(filename.toAscii().data(), "w");
if (!f) {
PRINT("Can't open STL file for STL export.");
- current_win = NULL;
+ MainWindow::current_win = NULL;
return;
}
fprintf(f, "solid\n");
contact: Jan Huwald // Impressum