From c92f2b483c9ac9f047a4f7e1db415ee16d3e5b4d Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 20 Jul 2005 11:33:52 +0000 Subject: [PATCH] PAL9522 - do not abort on hypothesis assignation failure --- src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx index 388409a8c..f3fbf92a7 100644 --- a/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx @@ -291,8 +291,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply() if (!aHyp->_is_nil()) { if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) { // abort transaction - op->abort(); - return false; +// op->abort(); +// return false; } } } @@ -309,8 +309,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply() if (!aHyp->_is_nil()) { if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) { // abort transaction - op->abort(); - return false; +// op->abort(); +// return false; } } } -- 2.39.2