From: akaftasev Date: Thu, 15 Apr 2021 12:51:50 +0000 (+0300) Subject: Delete progress indicator from IntTools_FaceFace X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=4e73a77e1b51545a7cb7e4feb329ae71314194e0;p=occt-copy.git Delete progress indicator from IntTools_FaceFace --- diff --git a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx index 23e131fe45..0563dc5f9f 100644 --- a/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx +++ b/src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx @@ -189,7 +189,7 @@ class BOPAlgo_FaceFace : myTrsf = aTrsf.Inverted(); } - IntTools_FaceFace::Perform (aF1, aF2, aPS.Next()); + IntTools_FaceFace::Perform (aF1, aF2); } catch (Standard_Failure const&) { diff --git a/src/BOPTest/BOPTest_BOPCommands.cxx b/src/BOPTest/BOPTest_BOPCommands.cxx index b8b4b99300..18a1a2b2c5 100644 --- a/src/BOPTest/BOPTest_BOPCommands.cxx +++ b/src/BOPTest/BOPTest_BOPCommands.cxx @@ -655,8 +655,7 @@ Standard_Integer bopcurves (Draw_Interpretor& di, aFF.SetList(aListOfPnts); aFF.SetFuzzyValue (BOPTest_Objects::FuzzyValue()); // - Handle(Draw_ProgressIndicator) aProgress = new Draw_ProgressIndicator(di, 1); - aFF.Perform (aF1, aF2, aProgress->Start()); + aFF.Perform (aF1, aF2); // anIsDone=aFF.IsDone(); if (!anIsDone) { diff --git a/src/IntTools/IntTools_FaceFace.cxx b/src/IntTools/IntTools_FaceFace.cxx index 2279c91d3e..6b4047c998 100644 --- a/src/IntTools/IntTools_FaceFace.cxx +++ b/src/IntTools/IntTools_FaceFace.cxx @@ -357,10 +357,8 @@ static Standard_Boolean isTreatAnalityc(const BRepAdaptor_Surface& theBAS1, //purpose : intersect surfaces of the faces //======================================================================= void IntTools_FaceFace::Perform(const TopoDS_Face& aF1, - const TopoDS_Face& aF2, - const Message_ProgressRange& theRange) + const TopoDS_Face& aF2) { - Message_ProgressScope aPS(theRange, NULL, 1); if (myContext.IsNull()) { myContext=new IntTools_Context; } diff --git a/src/IntTools/IntTools_FaceFace.hxx b/src/IntTools/IntTools_FaceFace.hxx index a0103b2ba8..5ef0b6af7b 100644 --- a/src/IntTools/IntTools_FaceFace.hxx +++ b/src/IntTools/IntTools_FaceFace.hxx @@ -49,7 +49,7 @@ public: //! Intersects underliing surfaces of F1 and F2 //! Use sum of tolerance of F1 and F2 as intersection //! criteria - Standard_EXPORT void Perform (const TopoDS_Face& F1, const TopoDS_Face& F2, const Message_ProgressRange& theRange = Message_ProgressRange()); + Standard_EXPORT void Perform (const TopoDS_Face& F1, const TopoDS_Face& F2); //! Returns True if the intersection was successful