summaryrefslogtreecommitdiff
path: root/export.cc
diff options
context:
space:
mode:
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