// Add the faces of oldShell in SH.
for (TopoDS_Iterator its(oldShell); its.More(); its.Next()) {
const TopoDS_Face Fo = TopoDS::Face(its.Value());
- TopAbs_Orientation NewO;
+ TopAbs_Orientation NewOFo;
// update the orientation of Fo in SH.
if (Rev)
- NewO = TopAbs::Reverse(MF(Fo).Orientation());
+ NewOFo = TopAbs::Reverse(MF(Fo).Orientation());
else
- NewO = MF(Fo).Orientation();
+ NewOFo = MF(Fo).Orientation();
- MF.Bind(Fo,SH.Oriented(NewO));
+ MF.Bind(Fo,SH.Oriented(NewOFo));
// B.Add (SH.Oriented(TopAbs_FORWARD),Fo.Oriented(NewO));
- TopoDS_Shape arefShape = SH.Oriented(TopAbs_FORWARD) ;
- B.Add ( arefShape ,Fo.Oriented(NewO));
+ TopoDS_Shape arefShapeFo = SH.Oriented(TopAbs_FORWARD) ;
+ B.Add ( arefShapeFo,Fo.Oriented(NewOFo));
}
// Rebind the free edges of the old shell to the new shell
//gka BUG 6491