asset.version from int to string
parent
36d770d3db
commit
3e322495f2
|
@ -490,7 +490,9 @@ namespace glTF {
|
||||||
Value asset;
|
Value asset;
|
||||||
asset.SetObject();
|
asset.SetObject();
|
||||||
{
|
{
|
||||||
asset.AddMember("version", mAsset.asset.version, mAl);
|
char versionChar[10];
|
||||||
|
snprintf(versionChar, sizeof(versionChar), "%d", mAsset.asset.version);
|
||||||
|
asset.AddMember("version", Value(versionChar, mAl).Move(), mAl);
|
||||||
|
|
||||||
asset.AddMember("generator", Value(mAsset.asset.generator, mAl).Move(), mAl);
|
asset.AddMember("generator", Value(mAsset.asset.generator, mAl).Move(), mAl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue