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=c102067d8cecba6f621372fd44c57eaf192b1ca3;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"),