Skip to content

Commit

Permalink
Add index offsets for JOINTS_0 and WEIGHTS_0 accessors (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
marpe authored and robertos committed Jul 16, 2018
1 parent c920bea commit 08e261e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glTF-Toolkit/src/GLTFLODUtils.cpp
Expand Up @@ -340,6 +340,8 @@ namespace
AddIndexOffset(primitive.uv1AccessorId, accessorOffset);
AddIndexOffset(primitive.color0AccessorId, accessorOffset);
AddIndexOffset(primitive.tangentsAccessorId, accessorOffset);
AddIndexOffset(primitive.joints0AccessorId, accessorOffset);
AddIndexOffset(primitive.weights0AccessorId, accessorOffset);

if (sharedMaterials)
{
Expand Down

0 comments on commit 08e261e

Please sign in to comment.