From: eap Date: Wed, 22 Sep 2010 11:41:25 +0000 (+0000) Subject: issue 0020959: HEXA_3D fails on shell X-Git-Tag: V5_1_5a1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9ba9715090ac6e61c56c3536ae0566110dca09a;p=modules%2Fsmesh.git issue 0020959: HEXA_3D fails on shell Fix DependsOn() for a not-closed SHELL not in SOLID --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index d4a8772cf..91993b332 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -381,8 +381,8 @@ const map < int, SMESH_subMesh * >& SMESH_subMesh::DependsOn() if ( BRep_Tool::IsClosed(exp.Current() )) InsertDependence(exp.Current()); //only shell not in solid else - for (TopExp_Explorer exp(exp.Current(), TopAbs_FACE); exp.More();exp.Next()) - InsertDependence(exp.Current()); // issue 0020959: HEXA_3D fails on shell + for (TopExp_Explorer expF(exp.Current(), TopAbs_FACE); expF.More();expF.Next()) + InsertDependence(expF.Current()); // issue 0020959: HEXA_3D fails on shell } for (TopExp_Explorer exp(_subShape, TopAbs_FACE, TopAbs_SHELL); exp.More();exp.Next())