From e5e731359f55864b3d960bbf080cc12d4937b38d Mon Sep 17 00:00:00 2001 From: Christian Petry Date: Tue, 3 Dec 2024 12:44:06 +0100 Subject: [PATCH] Fixed #2519 - progress being used when given --- Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs index db93b8017..2f51dd7db 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs @@ -89,6 +89,8 @@ namespace UniGLTF m_settings = new GltfExportSettings(); } + if (progress != null) + m_progress = progress; m_animationExporter = animationExporter; m_materialExporter = materialExporter ?? MaterialExporterUtility.GetValidGltfMaterialExporter(); m_textureSerializer = textureSerializer ?? new RuntimeTextureSerializer();