]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0022862: EDF GEOM: MakeFillet returns a compound
authorvsr <vsr@opencascade.com>
Fri, 20 Feb 2015 13:21:05 +0000 (16:21 +0300)
committervsr <vsr@opencascade.com>
Fri, 20 Feb 2015 13:21:05 +0000 (16:21 +0300)
- additional change, to fix the same problem for chamfer

src/GEOMImpl/GEOMImpl_ChamferDriver.cxx

index b651f266208e21180a43bbcad52a9b34326e288c..a32a01e682fe6a4c5a9b6e909c00a1aeaa418cb8 100644 (file)
@@ -255,7 +255,7 @@ Standard_Integer GEOMImpl_ChamferDriver::Execute(TFunction_Logbook& log) const
   if (!fill.IsDone()) {
     StdFail_NotDone::Raise("Chamfer can not be computed on the given shape with the given parameters");
   }
-  aShape = fill.Shape();
+  aShape = GEOMUtils::ReduceCompound( fill.Shape() );
 
   if (aShape.IsNull()) return 0;