]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13330( When mesh generation does not success, trace where )
authoreap <eap@opencascade.com>
Tue, 10 Apr 2007 15:42:22 +0000 (15:42 +0000)
committereap <eap@opencascade.com>
Tue, 10 Apr 2007 15:42:22 +0000 (15:42 +0000)
-        SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0);
+        SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0);

src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index 223fa3067e67ac2e8280057f824b702e7b048314..8c1c0299ce9aa3822d0b896100ba8ba9f463e663 100644 (file)
@@ -575,7 +575,7 @@ void SMESHGUI_ComputeOp::startOperation()
         nbFaces = aMesh->NbFaces();
         nbVolums = aMesh->NbVolumes();
         _PTR(SObject) aMeshSObj = SMESH::FindSObject(aMesh);
-        SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0);
+        SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0);
       }
       catch(const SALOME::SALOME_Exception & S_ex){
         SalomeApp_Tools::QtCatchCorbaException(S_ex);