mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19: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 ( !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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user