From 0360d3691ecacd5445aa91ad2b89636c55ee425e Mon Sep 17 00:00:00 2001 From: skl Date: Mon, 18 Jan 2010 12:20:30 +0000 Subject: [PATCH] Changes for bug 20662. --- src/GEOMImpl/GEOMImpl_GlueDriver.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/GEOMImpl/GEOMImpl_GlueDriver.cxx b/src/GEOMImpl/GEOMImpl_GlueDriver.cxx index ceb2f5c02..af0d29f43 100644 --- a/src/GEOMImpl/GEOMImpl_GlueDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_GlueDriver.cxx @@ -44,6 +44,8 @@ #include #include +#include + #include #include @@ -146,6 +148,13 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueFacesWithWarnings (const TopoDS_Shape& the aRes = aGluer.Result(); + // SKL 18.01.2010 - patch for 20662 + Handle(ShapeFix_Shape) aSfs = new ShapeFix_Shape(aRes); + aSfs->SetPrecision(Precision::Confusion()); + aSfs->Perform(); + aRes = aSfs->Shape(); + + // Fill history to be used by GetInPlace functionality TopTools_IndexedMapOfShape aResIndices; TopExp::MapShapes(aRes, aResIndices); -- 2.39.2