mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Fix fillAncestorsMap(theShape) for the case if a sub-shape of theShape is not in _mapAncestors
This commit is contained in:
parent
c72cfb82fd
commit
e0baca518c
@ -1615,6 +1615,7 @@ void SMESH_Mesh::fillAncestorsMap(const TopoDS_Shape& theShape)
|
||||
for ( desType = TopAbs_VERTEX; desType >= memberType; desType-- )
|
||||
for (TopExp_Explorer des( theShape, TopAbs_ShapeEnum( desType )); des.More(); des.Next())
|
||||
{
|
||||
if ( !_mapAncestors.Contains( des.Current() )) continue;// issue 0020982
|
||||
TopTools_ListOfShape& ancList = _mapAncestors.ChangeFromKey( des.Current() );
|
||||
TopTools_ListIteratorOfListOfShape ancIt (ancList);
|
||||
while ( ancIt.More() && ancIt.Value().ShapeType() >= memberType )
|
||||
|
Loading…
Reference in New Issue
Block a user