mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-02 15:53:30 -05:00
remove unnecessary ARRAY_BUFFER
This commit is contained in:
@@ -306,7 +306,7 @@ namespace UniGLTF
|
||||
blendShapePositionAccessorIndex = gltf.ExtendSparseBufferAndGetAccessorIndex(bufferIndex, accessorCount,
|
||||
blendShapeVertices,
|
||||
sparseIndices, sparseIndicesViewIndex,
|
||||
glBufferTarget.ARRAY_BUFFER);
|
||||
glBufferTarget.NONE);
|
||||
}
|
||||
|
||||
if (useNormal)
|
||||
@@ -315,7 +315,7 @@ namespace UniGLTF
|
||||
blendShapeNormalAccessorIndex = gltf.ExtendSparseBufferAndGetAccessorIndex(bufferIndex, accessorCount,
|
||||
blendShapeNormals,
|
||||
sparseIndices, sparseIndicesViewIndex,
|
||||
glBufferTarget.ARRAY_BUFFER);
|
||||
glBufferTarget.NONE);
|
||||
}
|
||||
|
||||
if (useTangent)
|
||||
@@ -323,7 +323,7 @@ namespace UniGLTF
|
||||
blendShapeTangents = sparseIndices.Select(x => blendShapeTangents[x].ReverseZ()).ToArray();
|
||||
blendShapeTangentAccessorIndex = gltf.ExtendSparseBufferAndGetAccessorIndex(bufferIndex, accessorCount,
|
||||
blendShapeTangents, sparseIndices, sparseIndicesViewIndex,
|
||||
glBufferTarget.ARRAY_BUFFER);
|
||||
glBufferTarget.NONE);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user