diff --git a/src/Mod/Import/App/AppImportPy.cpp b/src/Mod/Import/App/AppImportPy.cpp index 8a33b1b3a7..0b0a4ac963 100644 --- a/src/Mod/Import/App/AppImportPy.cpp +++ b/src/Mod/Import/App/AppImportPy.cpp @@ -393,6 +393,9 @@ private: // https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#coordinate-system-and-units aWriter.ChangeCoordinateSystemConverter().SetInputLengthUnit (0.001); aWriter.ChangeCoordinateSystemConverter().SetInputCoordinateSystem (RWMesh_CoordinateSystem_Zup); +#if OCC_VERSION_HEX >= 0x070700 + aWriter.SetParallel(true); +#endif Standard_Boolean ret = aWriter.Perform (hDoc, aMetadata, Message_ProgressRange()); if (!ret) { PyErr_Format(PyExc_IOError, "Cannot save to file '%s'", Utf8Name.c_str()); diff --git a/src/Mod/Import/Gui/AppImportGuiPy.cpp b/src/Mod/Import/Gui/AppImportGuiPy.cpp index a023752833..acdc260833 100644 --- a/src/Mod/Import/Gui/AppImportGuiPy.cpp +++ b/src/Mod/Import/Gui/AppImportGuiPy.cpp @@ -726,6 +726,9 @@ private: // https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#coordinate-system-and-units aWriter.ChangeCoordinateSystemConverter().SetInputLengthUnit (0.001); aWriter.ChangeCoordinateSystemConverter().SetInputCoordinateSystem (RWMesh_CoordinateSystem_Zup); +#if OCC_VERSION_HEX >= 0x070700 + aWriter.SetParallel(true); +#endif Standard_Boolean ret = aWriter.Perform (hDoc, aMetadata, Message_ProgressRange()); if (!ret) { PyErr_Format(PyExc_IOError, "Cannot save to file '%s'", Utf8Name.c_str());