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:
41ad074
)
#29939 [CEA 29936] mesh is not updated if it's based on ShaperResults group
author
eap
<eap@opencascade.com>
Wed, 11 May 2022 13:38:30 +0000
(16:38 +0300)
committer
eap
<eap@opencascade.com>
Wed, 11 May 2022 13:38:30 +0000
(16:38 +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 99e45c66eec7ad7036eafd8818750c32cf5d043e..d34abc13c0fcbc55f5fa1aa023e5451fcb9374c5 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-2415,9
+2415,11
@@
void SMESH_Mesh_i::CheckGeomModif( bool theIsBreakLink )
{
smIdType nb = NbNodes() + NbElements();
CheckGeomGroupModif();
- if ( nb != NbNodes() + NbElements() ) // something removed due to hypotheses change
+ bool updated = ( nb != NbNodes() + NbElements() );
+ if ( updated ) // something removed due to hypotheses change
_gen_i->UpdateIcons( me );
- return;
+ if ( updated == geomChanged || nb == 0 )
+ return;
}
// Update after shape modification or breakLink w/o geometry change