mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 00:10:34 +05:00
issue 0020959: HEXA_3D fails on shell
Fix DependsOn() for a not-closed SHELL not in SOLID
This commit is contained in:
parent
8ca5200ec2
commit
c9ba971509
@ -381,8 +381,8 @@ const map < int, SMESH_subMesh * >& SMESH_subMesh::DependsOn()
|
|||||||
if ( BRep_Tool::IsClosed(exp.Current() ))
|
if ( BRep_Tool::IsClosed(exp.Current() ))
|
||||||
InsertDependence(exp.Current()); //only shell not in solid
|
InsertDependence(exp.Current()); //only shell not in solid
|
||||||
else
|
else
|
||||||
for (TopExp_Explorer exp(exp.Current(), TopAbs_FACE); exp.More();exp.Next())
|
for (TopExp_Explorer expF(exp.Current(), TopAbs_FACE); expF.More();expF.Next())
|
||||||
InsertDependence(exp.Current()); // issue 0020959: HEXA_3D fails on shell
|
InsertDependence(expF.Current()); // issue 0020959: HEXA_3D fails on shell
|
||||||
|
|
||||||
}
|
}
|
||||||
for (TopExp_Explorer exp(_subShape, TopAbs_FACE, TopAbs_SHELL); exp.More();exp.Next())
|
for (TopExp_Explorer exp(_subShape, TopAbs_FACE, TopAbs_SHELL); exp.More();exp.Next())
|
||||||
|
Loading…
Reference in New Issue
Block a user