From: eap Date: Wed, 20 Jul 2005 11:34:36 +0000 (+0000) Subject: PAL9522 - do not abort on hypothesis assignation failure X-Git-Tag: T2_2_5a~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc3a0a1310689fb7a12257fb435113b0e9d77467;p=modules%2Fsmesh.git PAL9522 - do not abort on hypothesis assignation failure --- 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; } - - -