Fix parsing of glTF version
Handle version as int in gltf Fix format specifiers in glTF version parser
This commit is contained in:
committed by
Daniel Hritzkiv
parent
19876e9822
commit
140b903d7a
@@ -811,7 +811,7 @@ void glTF2Exporter::ExportScene()
|
||||
void glTF2Exporter::ExportMetadata()
|
||||
{
|
||||
AssetMetadata& asset = mAsset->asset;
|
||||
asset.version = 2;
|
||||
asset.version = "2.0";
|
||||
|
||||
char buffer[256];
|
||||
ai_snprintf(buffer, 256, "Open Asset Import Library (assimp v%d.%d.%d)",
|
||||
|
||||
Reference in New Issue
Block a user