From 28347b9bd8723d1d207c6293513767c6f5058664 Mon Sep 17 00:00:00 2001 From: Viktor Kovacs Date: Sun, 28 Mar 2021 17:00:32 +0200 Subject: [PATCH] Do not pretty print json in case of binary gltf export. --- source/export/exportergltf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/export/exportergltf.js b/source/export/exportergltf.js index 1f5a657..5b3d6fc 100644 --- a/source/export/exportergltf.js +++ b/source/export/exportergltf.js @@ -136,7 +136,7 @@ OV.ExporterGltf = class extends OV.ExporterBase byteLength : mainBinaryBufferAlignedLength }); - let mainJsonString = JSON.stringify (mainJson, null, 4); + let mainJsonString = JSON.stringify (mainJson); let mainJsonBufferLength = mainJsonString.length; let mainJsonBufferAlignedLength = AlignToBoundary (mainJsonString.length);