PAL9522 - do not abort on hypothesis assignation failure

This commit is contained in:
eap 2005-07-20 11:34:36 +00:00
parent e37d388ced
commit dc3a0a1310

View File

@ -277,8 +277,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
if ( !aHyp->_is_nil() ) { if ( !aHyp->_is_nil() ) {
if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) { if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) {
// abort transaction // abort transaction
op->abort(); // op->abort();
return false; // return false;
} }
} }
} }
@ -294,8 +294,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
if ( !aHyp->_is_nil() ) { if ( !aHyp->_is_nil() ) {
if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) { if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) {
// abort transaction // abort transaction
op->abort(); // op->abort();
return false; // return false;
} }
} }
} }
@ -493,6 +493,3 @@ QString SMESHGUI_InitMeshDlg::GetDefaultMeshName()
return aMeshName; return aMeshName;
} }