Skip to content

Commit 2f1f87f

Browse files
committed
SkinnedMesh.bind() change reflected in docs and loaders
1 parent 81222fa commit 2f1f87f

File tree

3 files changed

+1438
-1078
lines changed

3 files changed

+1438
-1078
lines changed

docs/api/objects/SkinnedMesh.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ <h2>Example</h2>
4343
// Bind the skeleton to the mesh
4444
mesh.bind( armSkeleton );
4545

46-
// Update the inverse matrices in the skeleton to reflect the newly bound skeleton
47-
armSkeleton.calculateInverses();
48-
4946
// Move the bones and manipulate the model
5047
armSkeleton.bones[ 0 ].rotation.x = -0.1;
5148
armSkeleton.bones[ 1 ].rotation.x = 0.2;

docs/scenes/bones-browser.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
mesh.add( bones[ 0 ] );
160160

161161
mesh.bind( skeleton );
162-
skeleton.calculateInverses();
163162

164163
skeletonHelper = new THREE.SkeletonHelper( mesh );
165164
skeletonHelper.material.linewidth = 2;

0 commit comments

Comments
 (0)