From ee3b656b2b99f1f682964b22c12eda468f28b9c7 Mon Sep 17 00:00:00 2001 From: hpinkos Date: Thu, 28 Sep 2017 16:01:59 -0400 Subject: [PATCH] Fix copy-paste error --- Source/ThirdParty/GltfPipeline/updateVersion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ThirdParty/GltfPipeline/updateVersion.js b/Source/ThirdParty/GltfPipeline/updateVersion.js index e357b0e8cf37..a3b805b604e0 100644 --- a/Source/ThirdParty/GltfPipeline/updateVersion.js +++ b/Source/ThirdParty/GltfPipeline/updateVersion.js @@ -521,7 +521,7 @@ define([ compressedImage.mimeType = compressedBinaryGltf.mimeType; delete compressedExtensions.KHR_binary_glTF; } - if (Object.keys(extensions).length === 0) { + if (Object.keys(compressedExtensions).length === 0) { delete compressedImage.extensions; } }