mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 10:30:33 +05:00
IPAL54700: TC-9.6.0: 0D Mesh - several items are missed in the OB popup menu
This commit is contained in:
parent
76b3528b3f
commit
d3bb81e560
@ -649,11 +649,12 @@ SMESH_Mesh_i::AddHypothesis(GEOM::GEOM_Object_ptr aSubShape,
|
|||||||
throw(SALOME::SALOME_Exception)
|
throw(SALOME::SALOME_Exception)
|
||||||
{
|
{
|
||||||
Unexpect aCatch(SALOME_SalomeException);
|
Unexpect aCatch(SALOME_SalomeException);
|
||||||
|
|
||||||
|
const int prevNbMeshEnt = NbNodes() + NbElements();
|
||||||
|
|
||||||
if ( _preMeshInfo )
|
if ( _preMeshInfo )
|
||||||
_preMeshInfo->ForgetOrLoad();
|
_preMeshInfo->ForgetOrLoad();
|
||||||
|
|
||||||
const int prevNbMeshEnt = _impl->NbNodes() + _impl->GetMeshDS()->NbElements();
|
|
||||||
|
|
||||||
std::string error;
|
std::string error;
|
||||||
SMESH_Hypothesis::Hypothesis_Status status = addHypothesis( aSubShape, anHyp, &error );
|
SMESH_Hypothesis::Hypothesis_Status status = addHypothesis( aSubShape, anHyp, &error );
|
||||||
anErrorText = error.c_str();
|
anErrorText = error.c_str();
|
||||||
|
Loading…
Reference in New Issue
Block a user