From 5eaf083fbd1313431d28ea4fcac4e9775b289003 Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Thu, 19 Oct 2017 12:38:11 -0400 Subject: [PATCH] Fix output of glTF 1 version string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was writing out “\u0001” instead of “1.0” as the data types were incorrect --- code/glTFExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTFExporter.cpp b/code/glTFExporter.cpp index 92abcc15c..39886aaad 100644 --- a/code/glTFExporter.cpp +++ b/code/glTFExporter.cpp @@ -834,7 +834,7 @@ void glTFExporter::ExportScene() void glTFExporter::ExportMetadata() { glTF::AssetMetadata& asset = mAsset->asset; - asset.version = 1; + asset.version = "1.0"; char buffer[256]; ai_snprintf(buffer, 256, "Open Asset Import Library (assimp v%d.%d.%d)",