From: eap Date: Tue, 10 Apr 2007 15:42:22 +0000 (+0000) Subject: PAL13330( When mesh generation does not success, trace where ) X-Git-Tag: V3_2_6pre4~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3a1001b71e37203fc43f673d43f699e486b8a3e;p=modules%2Fsmesh.git PAL13330( When mesh generation does not success, trace where ) - SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0); + SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0); --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 223fa3067..8c1c0299c 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -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);