0026310: Very slow boolean cut operations on cylinders
[occt.git] / src / IntTools / IntTools_FaceFace.cxx
index 77709c3..7759fda 100644 (file)
@@ -644,7 +644,7 @@ void IntTools_FaceFace::Perform(const TopoDS_Face& aF1,
   {
     const Standard_Real UVMaxStep = 0.001;
     const Standard_Real Deflection = (hasCone) ? 0.085 : 0.1;
-  myIntersector.SetTolerances(TolArc, TolTang, UVMaxStep, Deflection); 
+    myIntersector.SetTolerances(TolArc, TolTang, UVMaxStep, Deflection); 
   }
   
   if((myHS1->IsUClosed() && !myHS1->IsUPeriodic()) || 
@@ -1672,6 +1672,11 @@ Standard_Real IntTools_FaceFace::ComputeTolerance()
   case IntPatch_Walking:{
     Handle(IntPatch_WLine) WL = 
       Handle(IntPatch_WLine)::DownCast(L);
+
+#ifdef OCCT_DEBUG
+    //WL->Dump();
+#endif
+
     //
     Standard_Integer ifprm, ilprm;
     //