Part multiFuse enable SetRunParallel

Forum discussion:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179

Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179#p142663
This commit is contained in:
triplus 2016-11-02 14:44:58 +01:00 committed by GitHub
parent 85534c7014
commit e892d09f2e

View File

@ -1325,6 +1325,9 @@ TopoDS_Shape TopoShape::multiFuse(const std::vector<TopoDS_Shape>& shapes, Stand
}
#else
BRepAlgoAPI_Fuse mkFuse;
# if OCC_VERSION_HEX >= 0x060900
mkFuse.SetRunParallel(true);
# endif
TopTools_ListOfShape shapeArguments,shapeTools;
shapeArguments.Append(this->_Shape);
for (std::vector<TopoDS_Shape>::const_iterator it = shapes.begin(); it != shapes.end(); ++it) {