Ensure gltf asset version is printed as \d.0
This commit is contained in:
@@ -845,7 +845,7 @@ void glTF2Exporter::ExportScene()
|
||||
void glTF2Exporter::ExportMetadata()
|
||||
{
|
||||
AssetMetadata& asset = mAsset->asset;
|
||||
asset.version = 2;
|
||||
asset.version = 2.;
|
||||
|
||||
char buffer[256];
|
||||
ai_snprintf(buffer, 256, "Open Asset Import Library (assimp v%d.%d.%d)",
|
||||
|
||||
Reference in New Issue
Block a user