From: enk Date: Fri, 20 May 2005 05:04:06 +0000 (+0000) Subject: Correction fix: X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FENK_JFA_Poly_work;p=modules%2Fsmesh.git Correction fix: Bug IPAL8770 There is no any warning message if to export polygonal elements into MED 2.1 file. --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 699fea1bf..53d1d7127 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -289,7 +289,7 @@ namespace{ delete fd; if( !aFilename.isEmpty() - && (aMesh->NbPolygons()>1 or aMesh->NbPolyhedrons()>1) + && (aMesh->NbPolygons()>0 or aMesh->NbPolyhedrons()>0) && aFormat==SMESH::MED_V2_1){ int aRet = QAD_MessageBox::warn2(QAD_Application::getDesktop(), QObject::tr("SMESH_WRN_WARNING"),