Skip to content

Commit

Permalink
Remove outdated skinning property to prevent a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
avdynut committed Nov 16, 2023
1 parent c9b51a2 commit 5073589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/hand-tracking-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ module.exports.Component = registerComponent('hand-tracking-controls', {
mesh.position.set(0, 0, 0);
mesh.rotation.set(0, 0, 0);
skinnedMesh.frustumCulled = false;
skinnedMesh.material = new THREE.MeshStandardMaterial({skinning: true, color: this.data.modelColor});
skinnedMesh.material = new THREE.MeshStandardMaterial({color: this.data.modelColor});
this.el.setObject3D('mesh', mesh);
}
});

0 comments on commit 5073589

Please sign in to comment.