]> OCCT Git - occt-copy.git/commitdiff
set isMultiThread = true
authorasuraven <andrey.suravenkov@opencascade.com>
Mon, 26 Jul 2021 09:34:30 +0000 (12:34 +0300)
committerasuraven <andrey.suravenkov@opencascade.com>
Mon, 26 Jul 2021 09:34:48 +0000 (12:34 +0300)
src/GeomLib/GeomLib_CheckCurveOnSurface.cxx

index 2760db31a63591357edf0081c574b8d5b1534d43..23d5c07e18d8eb8a785e2e6bf89437be769aa270 100644 (file)
@@ -438,7 +438,7 @@ void GeomLib_CheckCurveOnSurface::Perform(const Handle(Adaptor3d_CurveOnSurface)
     FillSubIntervals(myCurve, theCurveOnSurface->GetCurve(), 
       myCurve->FirstParameter(), myCurve->LastParameter(), aNbParticles, &anIntervals);
 
-    if (false/*isMultiThread*/)
+    if (true/*isMultiThread*/)
     {
       const Handle(OSD_ThreadPool)& aThreadPool = OSD_ThreadPool::DefaultPool();
       const int aNbThreads = isMultiThread ? Min(anIntervals.Size(), aThreadPool->NbDefaultThreadsToLaunch()) : 1;