]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMImpl/GEOMImpl_HealingDriver.cxx
Salome HOME
0022743: EDF GEOM: Regression in MakePipeTShapeChamfer: Some faces are missing in...
[modules/geom.git] / src / GEOMImpl / GEOMImpl_HealingDriver.cxx
index 09441ab23dd683491d274f440846ee1e0f7c035e..89decb61cfcc1e7c993859c31de25ef5052339c9 100644 (file)
@@ -541,6 +541,8 @@ void GEOMImpl_HealingDriver::LimitTolerance (GEOMImpl_IHealing* theHI,
                                              TopoDS_Shape& theOutShape) const
 {
   Standard_Real aTol = theHI->GetTolerance();
+  TopAbs_ShapeEnum aType = theHI->GetType();
+
   if (aTol < Precision::Confusion())
     aTol = Precision::Confusion();
 
@@ -551,7 +553,7 @@ void GEOMImpl_HealingDriver::LimitTolerance (GEOMImpl_IHealing* theHI,
 
   // 2. Limit tolerance.
   ShapeFix_ShapeTolerance aSFT;
-  aSFT.LimitTolerance(aShapeCopy, aTol, aTol, TopAbs_SHAPE);
+  aSFT.LimitTolerance(aShapeCopy, aTol, aTol, aType);
 
   // 3. Fix obtained shape.
   Handle(ShapeFix_Shape) aSfs = new ShapeFix_Shape (aShapeCopy);
@@ -902,6 +904,7 @@ GetCreationInformation(std::string&             theOperationName,
     theOperationName = "LIMIT_TOLERANCE";
     AddParam( theParams, "Selected shape", aCI.GetOriginal() );
     AddParam( theParams, "Tolerance", aCI.GetTolerance() );
+    AddParam( theParams, "Type", aCI.GetType() );
     break;
   case FUSE_COLLINEAR_EDGES:
     theOperationName = "FUSE_EDGES";