Merge pull request #1502 from Matter-and-Form/bugfix/gltf1-version

Fix output of glTF 1 version string
pull/1486/head^2
Kim Kulling 2017-10-19 21:58:33 +02:00 committed by GitHub
commit dbae8e497d
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)",