Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable multithread in boolean operations and partition
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_Partition.cpp
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp
b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp
index 14d5f5593a26b299796afb8b9729c66d9616fc2d..3d31360f8c175433ac3b9d9bd7162f68fd7ca178 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp
@@
-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())