We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97aa17d commit 02c38a9Copy full SHA for 02c38a9
src/objects/BatchedMesh.js
@@ -195,8 +195,7 @@ class BatchedMesh extends Mesh {
195
const { array, itemSize, normalized } = srcAttribute;
196
197
const dstArray = new array.constructor( maxVertexCount * itemSize );
198
- const dstAttribute = new srcAttribute.constructor( dstArray, itemSize, normalized );
199
- dstAttribute.setUsage( srcAttribute.usage );
+ const dstAttribute = new BufferAttribute( dstArray, itemSize, normalized );
200
201
geometry.setAttribute( attributeName, dstAttribute );
202
0 commit comments