issue 0020959: HEXA_3D fails on shell

Fix DependsOn() for a not-closed SHELL not in SOLID
This commit is contained in:
eap 2010-09-22 11:41:25 +00:00
parent 8ca5200ec2
commit c9ba971509

View File

@ -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())