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 ( !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;
}