PAL7815: now RemoveExtraEdges() does not break initial shape

This commit is contained in:
jfa 2005-01-27 12:44:38 +00:00
parent 0fd599bbed
commit 49a1a28bfa

View File

@ -429,7 +429,7 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
myContext->Replace(aSolid,aResult);
}
}
else {
// else {
for( exp.Init(aSolid, TopAbs_FACE); exp.More(); exp.Next()) {
TopoDS_Face aFace = TopoDS::Face(exp.Current().Oriented(TopAbs_FORWARD));
Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire;
@ -445,7 +445,7 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
sfw->FixShifted();
}
}
}
// }
} // end processing each solid