From 3f117b4ac3645c03107ecdb8becade3f32feafcf Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 23 Nov 2020 22:36:40 +0100 Subject: [PATCH] Import: [skip ci] do not scale when exporting to glTF format --- src/Mod/Import/Gui/AppImportGuiPy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Import/Gui/AppImportGuiPy.cpp b/src/Mod/Import/Gui/AppImportGuiPy.cpp index 3ecbd2b9e2..aa06d3c393 100644 --- a/src/Mod/Import/Gui/AppImportGuiPy.cpp +++ b/src/Mod/Import/Gui/AppImportGuiPy.cpp @@ -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) {