mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-23 22:50:11 +08:00
Fix bufferView.byteStride is read into byteLength
property. Fixes #9
This commit is contained in:
parent
06a2be8d9d
commit
a12620f378
@ -1581,7 +1581,7 @@ static bool ParseBufferView(BufferView *bufferView, std::string *err,
|
||||
}
|
||||
|
||||
double byteStride = 4.0;
|
||||
ParseNumberProperty(&byteLength, err, o, "byteStride", false);
|
||||
ParseNumberProperty(&byteStride, err, o, "byteStride", false);
|
||||
|
||||
double target = 0.0;
|
||||
ParseNumberProperty(&target, err, o, "target", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user