mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-15 04:05:51 +08:00
Merge pull request #317 from Snowapril/master
Delete unused variable initialization code
This commit is contained in:
commit
08a7dd8dad
@ -4533,7 +4533,6 @@ static bool ParseDracoExtension(Primitive *primitive, Model *model,
|
|||||||
|
|
||||||
int dracoAttributeIndex = attribute.second.Get<int>();
|
int dracoAttributeIndex = attribute.second.Get<int>();
|
||||||
const auto pAttribute = mesh->GetAttributeByUniqueId(dracoAttributeIndex);
|
const auto pAttribute = mesh->GetAttributeByUniqueId(dracoAttributeIndex);
|
||||||
const auto pBuffer = pAttribute->buffer();
|
|
||||||
const auto componentType =
|
const auto componentType =
|
||||||
model->accessors[primitiveAttribute->second].componentType;
|
model->accessors[primitiveAttribute->second].componentType;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user