Fixed #2519 - progress being used when given

This commit is contained in:
Christian Petry 2024-12-03 12:44:06 +01:00
parent 9a22db7340
commit e5e731359f

View File

@ -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();