mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Prevent failure if a degenerated EDGE is not meshed
This commit is contained in:
parent
862dfb92f3
commit
bfcfbc1ba9
@ -1654,7 +1654,10 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
|||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
for (; ret && subS.More(); subS.Next())
|
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
|
// Set _computeError
|
||||||
if (!ret && !isComputeErrorSet)
|
if (!ret && !isComputeErrorSet)
|
||||||
|
Loading…
Reference in New Issue
Block a user