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:
862dfb9
)
Prevent failure if a degenerated EDGE is not meshed
author
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 10:20:33 +0000
(10:20 +0000)
committer
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 10:20:33 +0000
(10:20 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index c6e3d54647c8fa38c2310308fc7037f31d6533ea..7b6b7dac3545496e5d0c16e79d9f2bc52de4fb55 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-1654,7
+1654,10
@@
bool SMESH_subMesh::ComputeStateEngine(int event)
if (ret)
{
for (; ret && subS.More(); subS.Next())
- ret = _father->GetSubMesh( subS.Current() )->IsMeshComputed();
+ if ( !_father->GetSubMesh( subS.Current() )->IsMeshComputed() &&
+ ( _subShape.ShapeType() != TopAbs_EDGE ||
+ !algo->isDegenerated( TopoDS::Edge( subS.Current() ))))
+ ret = false;
}
// Set _computeError
if (!ret && !isComputeErrorSet)