mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +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)
|
||||
{
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user