]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Correction fix: ENK_JFA_Poly_work
authorenk <enk@opencascade.com>
Fri, 20 May 2005 05:04:06 +0000 (05:04 +0000)
committerenk <enk@opencascade.com>
Fri, 20 May 2005 05:04:06 +0000 (05:04 +0000)
Bug IPAL8770 There is no any warning message if to export polygonal elements into MED 2.1 file.

src/SMESHGUI/SMESHGUI.cxx

index 699fea1bfdc3458d4a1e0f9af6fbeb04ebbea957..53d1d7127f7b1fd663d113865c76a2173558bb0e 100644 (file)
@@ -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"),