Skip to content

Commit dac50c5

Browse files
authored
Remove outdated skinning property to prevent a warning (#5386)
1 parent 97a0b81 commit dac50c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/hand-tracking-controls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ module.exports.Component = registerComponent('hand-tracking-controls', {
347347
mesh.position.set(0, 0, 0);
348348
mesh.rotation.set(0, 0, 0);
349349
skinnedMesh.frustumCulled = false;
350-
skinnedMesh.material = new THREE.MeshStandardMaterial({skinning: true, color: this.data.modelColor});
350+
skinnedMesh.material = new THREE.MeshStandardMaterial({color: this.data.modelColor});
351351
this.el.setObject3D('mesh', mesh);
352352
}
353353
});

0 commit comments

Comments
 (0)