Fix output of glTF 1 version string

Was writing out “\u0001” instead of “1.0” as the data types were incorrect
pull/1502/head
Daniel Hritzkiv 2017-10-19 12:38:11 -04:00
parent 130c25eadb
commit 5eaf083fbd
No known key found for this signature in database
GPG Key ID: D1D19875679D5CBF
1 changed files with 1 additions and 1 deletions

View File

@ -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)",