Salome HOME
Enable multithread in boolean operations and partition
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Partition.cpp
index 14d5f5593a26b299796afb8b9729c66d9616fc2d..3d31360f8c175433ac3b9d9bd7162f68fd7ca178 100644 (file)
@@ -196,6 +196,10 @@ void GeomAlgoAPI_Partition::build(const ListOfShape& theObjects,
     }
   }
 
+  // Set parallel processing mode (default is false)
+  Standard_Boolean bRunParallel = Standard_True;
+  anOperation->SetRunParallel(bRunParallel);
+
   // Building and getting result.
   anOperation->Perform();
   if (anOperation->HasErrors())