]> OCCT Git - occt-copy.git/commitdiff
Delete progress indicator from IntTools_FaceFace
authorakaftasev <akaftasev@opencascade.com>
Thu, 15 Apr 2021 12:51:50 +0000 (15:51 +0300)
committerakaftasev <akaftasev@opencascade.com>
Thu, 15 Apr 2021 12:51:50 +0000 (15:51 +0300)
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPTest/BOPTest_BOPCommands.cxx
src/IntTools/IntTools_FaceFace.cxx
src/IntTools/IntTools_FaceFace.hxx

index 23e131fe454547f5b36213fa94eec52551c74502..0563dc5f9f72927c1624ba4a1bb07efb2ecded95 100644 (file)
@@ -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&)
     {
index b8b4b9930038f90f50369c2dd3b2f2add5441e8c..18a1a2b2c5fe70f3511d57ddeda3c41ecc838bc0 100644 (file)
@@ -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) {
index 2279c91d3ea027b55f45674714024277d7b6b053..6b4047c99837b7fab06afc6f79ec26c023faf116 100644 (file)
@@ -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;
   }
index a0103b2ba81dcbd52327f7308ff46380d38d344d..5ef0b6af7b16a6344472cfce47837b6082da606f 100644 (file)
@@ -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