mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Changes for bug 20662.
This commit is contained in:
parent
d45f1ae275
commit
0360d3691e
@ -44,6 +44,8 @@
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
#include <TopTools_ListIteratorOfListOfShape.hxx>
|
||||
|
||||
#include <ShapeFix_Shape.hxx>
|
||||
|
||||
#include <Standard_NullObject.hxx>
|
||||
#include <Standard_Failure.hxx>
|
||||
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user