Skip to content

Commit e5e96df

Browse files
committed
AssimpLoader: SkinnedMesh no longer calls normalizeSkinWeights() in constructor.
1 parent 6757d38 commit e5e96df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/js/loaders/AssimpLoader.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,8 +772,10 @@ THREE.AssimpLoader.prototype = {
772772
if ( this.mBones.length == 0 )
773773
mesh = new THREE.Mesh( geometry, mat );
774774

775-
if ( this.mBones.length > 0 )
775+
if ( this.mBones.length > 0 ) {
776776
mesh = new THREE.SkinnedMesh( geometry, mat );
777+
mesh.normalizeSkinWeights();
778+
}
777779

778780
this.threeNode = mesh;
779781
//mesh.matrixAutoUpdate = false;

0 commit comments

Comments
 (0)