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
(from parent 1:
5f03165
)
PAL10974. Fix SubMeshesComputed(): there may be elements but no nodes in a submesh
V2_2_7
author
eap
<eap@opencascade.com>
Mon, 26 Dec 2005 10:44:45 +0000
(10:44 +0000)
committer
eap
<eap@opencascade.com>
Mon, 26 Dec 2005 10:44:45 +0000
(10:44 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index d3f8e90f347825aa22ef17f21c7b871b571ba196..94512bdbcbef515ebdc6c6e88c9ffcc508029439 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-202,7
+202,7
@@
bool SMESH_subMesh::SubMeshesComputed()
// recompute 3D when a locale triangle hypo changes (see PAL7428).
// So we check if mesh is really present
//bool computeOk = (sm->GetComputeState() == COMPUTE_OK);
- bool computeOk = ( ds &&
ds->GetNodes()->more()
);
+ bool computeOk = ( ds &&
( ds->GetNodes()->more() || ds->GetElements()->more() )
);
if (!computeOk)
{
const TopoDS_Shape & ss = sm->GetSubShape();