X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PaveFiller.cpp;h=de0eee7eb3697b91002beda20f49729683832a45;hb=a55586483e5dccc5466d6ec241e2147e210d839f;hp=95a3440720ba5d7060db63a7a2d57e83df7abb54;hpb=9b6f6cc1aa25604283a872d0252b6f36c20402bc;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.cpp index 95a344072..de0eee7eb 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.cpp @@ -41,7 +41,7 @@ void GeomAlgoAPI_PaveFiller::build(const ListOfShape& theListOfShape, const bool theIsMakeCompSolids) { BOPAlgo_PaveFiller* aPaveFiller = new BOPAlgo_PaveFiller; - BOPCol_ListOfShape aListOfShape; + TopTools_ListOfShape aListOfShape; for(ListOfShape::const_iterator anIt = theListOfShape.cbegin(); anIt != theListOfShape.cend(); anIt++) { const TopoDS_Shape& aShape = (*anIt)->impl(); @@ -55,30 +55,16 @@ void GeomAlgoAPI_PaveFiller::build(const ListOfShape& theListOfShape, } aPaveFiller->SetArguments(aListOfShape); aPaveFiller->Perform(); -#ifdef USE_OCCT_720 if (aPaveFiller->HasErrors()) return; -#else - Standard_Integer iErr = aPaveFiller->ErrorStatus(); - if(iErr) { - return; - } -#endif BOPAlgo_Builder* aBuilder = new BOPAlgo_Builder(); this->setImpl(aBuilder); this->setBuilderType(OCCT_BOPAlgo_Builder); aBuilder->SetArguments(aListOfShape); aBuilder->PerformWithFiller(*aPaveFiller); -#ifdef USE_OCCT_720 if (aBuilder->HasErrors()) return; -#else - iErr = aBuilder->ErrorStatus(); - if(iErr) { - return; - } -#endif TopoDS_Shape aResult = aBuilder->Shape(); if(aResult.ShapeType() == TopAbs_COMPOUND) {