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:
5c933ec
)
PAL10953. Fix GetSubmeshComputed(): there may be elements but no nodes in a submesh
author
eap
<eap@opencascade.com>
Mon, 26 Dec 2005 10:36:57 +0000
(10:36 +0000)
committer
eap
<eap@opencascade.com>
Mon, 26 Dec 2005 10:36:57 +0000
(10:36 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index 100a59560df44c14e962bf13ac76dbec1b82928f..2500404533a5cb1f7b0c9c5936514c032ecada71 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);
// 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();
if (!computeOk)
{
const TopoDS_Shape & ss = sm->GetSubShape();