From b3a1001b71e37203fc43f673d43f699e486b8a3e Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 Apr 2007 15:42:22 +0000 Subject: [PATCH] PAL13330( When mesh generation does not success, trace where ) - SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0); + SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0); --- src/SMESHGUI/SMESHGUI_ComputeDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2