diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-09 14:25:09 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-09 14:25:09 (GMT) |
commit | 1a3769d5952b09c5cf1a6864bdf1925b380d8042 (patch) | |
tree | 6e2316450ff7c673dba14491f52f1a96aa847a00 /export.cc | |
parent | c8baf2b227a23b1361a4fa160ef1c183ef24f431 (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.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"); |