From c60fe3bd1fc28327b0d4960fcf23a021ecc5f385 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Fri, 6 Aug 2021 22:20:03 +0200 Subject: [PATCH] Build fix. --- source/import/importergltf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/import/importergltf.js b/source/import/importergltf.js index 022a377..bd1533c 100644 --- a/source/import/importergltf.js +++ b/source/import/importergltf.js @@ -812,7 +812,7 @@ OV.ImporterGltf = class extends OV.ImporterBase let reader = this.GetReaderFromBufferView (bufferView); if (reader !== null) { let buffer = reader.ReadArrayBuffer (bufferView.byteLength); - textureParams.name = 'Binary_' + textureIndexString + GetTextureFileExtension (gltfImage.mimeType); + textureParams.name = 'Binary_' + textureIndexString + '.' + OV.GetFileExtensionFromMimeType (gltfImage.mimeType); textureParams.url = OV.CreateObjectUrlWithMimeType (buffer, gltfImage.mimeType); textureParams.buffer = buffer; }