PAL13330( When mesh generation does not success, trace where )

-        SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0);
+        SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0);
This commit is contained in:
eap 2007-04-10 15:42:22 +00:00
parent ade1823d88
commit b3a1001b71

View 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);