From dc3a0a1310689fb7a12257fb435113b0e9d77467 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 20 Jul 2005 11:34:36 +0000 Subject: [PATCH] PAL9522 - do not abort on hypothesis assignation failure --- src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx index 68a737503..bc0ad1007 100644 --- a/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx @@ -277,8 +277,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply() if ( !aHyp->_is_nil() ) { if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) { // abort transaction - op->abort(); - return false; +// op->abort(); +// return false; } } } @@ -294,8 +294,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply() if ( !aHyp->_is_nil() ) { if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) { // abort transaction - op->abort(); - return false; +// op->abort(); +// return false; } } } @@ -493,6 +493,3 @@ QString SMESHGUI_InitMeshDlg::GetDefaultMeshName() return aMeshName; } - - - -- 2.39.2