Ensure gltf asset version is printed as \d.0

This commit is contained in:
Daniel Hritzkiv
2017-08-09 10:47:34 -04:00
parent 7fd9c3dc98
commit 7a4a32625c
8 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -834,7 +834,7 @@ void glTFExporter::ExportScene()
void glTFExporter::ExportMetadata()
{
glTF::AssetMetadata& asset = mAsset->asset;
asset.version = 1;
asset.version = 1.;
char buffer[256];
ai_snprintf(buffer, 256, "Open Asset Import Library (assimp v%d.%d.%d)",