Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b3528
)
IPAL54700: TC-9.6.0: 0D Mesh - several items are missed in the OB popup menu
author
eap
<eap@opencascade.com>
Thu, 22 Oct 2020 09:19:01 +0000
(12:19 +0300)
committer
eap
<eap@opencascade.com>
Thu, 22 Oct 2020 09:19:01 +0000
(12:19 +0300)
src/SMESH_I/SMESH_Mesh_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Mesh_i.cxx
b/src/SMESH_I/SMESH_Mesh_i.cxx
index 8a4313de59b324bccd92a775f058d82c58e3fcad..8455f6b4681a3886ab21329db943221ea44f882f 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-649,11
+649,12
@@
SMESH_Mesh_i::AddHypothesis(GEOM::GEOM_Object_ptr aSubShape,
throw(SALOME::SALOME_Exception)
{
Unexpect aCatch(SALOME_SalomeException);
+
+ const int prevNbMeshEnt = NbNodes() + NbElements();
+
if ( _preMeshInfo )
_preMeshInfo->ForgetOrLoad();
- const int prevNbMeshEnt = _impl->NbNodes() + _impl->GetMeshDS()->NbElements();
-
std::string error;
SMESH_Hypothesis::Hypothesis_Status status = addHypothesis( aSubShape, anHyp, &error );
anErrorText = error.c_str();