mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL9522 - do not abort on hypothesis assignation failure
This commit is contained in:
parent
e37d388ced
commit
dc3a0a1310
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user