From 49a1a28bfadd9c459d13e61b5ef313fce33c22f3 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 27 Jan 2005 12:44:38 +0000 Subject: [PATCH] PAL7815: now RemoveExtraEdges() does not break initial shape --- src/GEOMAlgo/BlockFix_UnionFaces.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.cxx b/src/GEOMAlgo/BlockFix_UnionFaces.cxx index 2f4e212ae..1bb446438 100644 --- a/src/GEOMAlgo/BlockFix_UnionFaces.cxx +++ b/src/GEOMAlgo/BlockFix_UnionFaces.cxx @@ -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