Import: [skip ci] do not scale when exporting to glTF format

This commit is contained in:
wmayer
2020-11-23 22:36:40 +01:00
parent a42355939a
commit 3f117b4ac3

View File

@@ -693,7 +693,7 @@ private:
TColStd_IndexedDataMapOfStringString aMetadata;
RWGltf_CafWriter aWriter (name8bit.c_str(), file.hasExtension("glb"));
aWriter.SetTransformationFormat (RWGltf_WriterTrsfFormat_Compact);
aWriter.ChangeCoordinateSystemConverter().SetInputLengthUnit (0.001);
//aWriter.ChangeCoordinateSystemConverter().SetInputLengthUnit (0.001);
aWriter.ChangeCoordinateSystemConverter().SetInputCoordinateSystem (RWMesh_CoordinateSystem_Zup);
Standard_Boolean ret = aWriter.Perform (hDoc, aMetadata, Message_ProgressRange());
if (!ret) {