mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-16 15:35:56 +08:00
Merge pull request #20 from jianghaosen/devel
fix(row1728): accessor->normalize is a local variables and forget ini…
This commit is contained in:
commit
1aba9cf663
@ -1725,7 +1725,7 @@ static bool ParseAccessor(Accessor *accessor, std::string *err,
|
|||||||
accessor->count = static_cast<size_t>(count);
|
accessor->count = static_cast<size_t>(count);
|
||||||
accessor->bufferView = static_cast<int>(bufferView);
|
accessor->bufferView = static_cast<int>(bufferView);
|
||||||
accessor->byteOffset = static_cast<size_t>(byteOffset);
|
accessor->byteOffset = static_cast<size_t>(byteOffset);
|
||||||
|
accessor->normalized = normalized;
|
||||||
{
|
{
|
||||||
int comp = static_cast<int>(componentType);
|
int comp = static_cast<int>(componentType);
|
||||||
if (comp >= TINYGLTF_COMPONENT_TYPE_BYTE &&
|
if (comp >= TINYGLTF_COMPONENT_TYPE_BYTE &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user