Merge branch 'master' into patch-2
commit
47c8971b52
|
@ -584,7 +584,7 @@ namespace glTF2 {
|
||||||
if (bodyBuffer->byteLength > 0) {
|
if (bodyBuffer->byteLength > 0) {
|
||||||
rapidjson::Value glbBodyBuffer;
|
rapidjson::Value glbBodyBuffer;
|
||||||
glbBodyBuffer.SetObject();
|
glbBodyBuffer.SetObject();
|
||||||
glbBodyBuffer.AddMember("byteLength", bodyBuffer->byteLength, mAl);
|
glbBodyBuffer.AddMember("byteLength", static_cast<uint64_t>(bodyBuffer->byteLength), mAl);
|
||||||
mDoc["buffers"].PushBack(glbBodyBuffer, mAl);
|
mDoc["buffers"].PushBack(glbBodyBuffer, mAl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue