bugfix: forgot to negate statement when refactoring

527olive
Marius Kintel 2013-12-31 02:53:04 -05:00
parent 76f53de49f
commit c3eaeae45c
1 changed files with 1 additions and 1 deletions

View File

@ -1438,7 +1438,7 @@ void MainWindow::actionExportSTLorOFF(bool)
}
const CGAL_Nef_polyhedron *N = dynamic_cast<const CGAL_Nef_polyhedron *>(this->root_geom.get());
if (N && N->p3->is_simple()) {
if (N && !N->p3->is_simple()) {
PRINT("Object isn't a valid 2-manifold! Modify your design. See http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export");
clearCurrentOutput();
return;