From ea3076517c2c3a661fb787eba28d52ab74ebebcc Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Fri, 21 Jan 2011 10:34:42 +0000 Subject: [PATCH] removed small bug --- src/meshlab/mainwindow_RunTime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlab/mainwindow_RunTime.cpp b/src/meshlab/mainwindow_RunTime.cpp index bfe7bf44e..fa6bb1339 100644 --- a/src/meshlab/mainwindow_RunTime.cpp +++ b/src/meshlab/mainwindow_RunTime.cpp @@ -1350,7 +1350,6 @@ void MainWindow::saveProject() } else { - ret = MeshDocumentToXMLFile(*meshDoc(),fileName); if (saveAllFile->isChecked()) { for(int ii = 0; ii < meshDoc()->meshList.size();++ii) @@ -1359,6 +1358,7 @@ void MainWindow::saveProject() ret |= exportMesh(mp->fullName(),mp,true); } } + ret = MeshDocumentToXMLFile(*meshDoc(),fileName); } if(!ret) QMessageBox::critical(this, tr("Meshlab Saving Error"), QString("Unable to save project file %1\n").arg(fileName));