|
@@ -772,8 +772,10 @@ THREE.AssimpLoader.prototype = {
|
|
|
if ( this.mBones.length == 0 )
|
|
|
mesh = new THREE.Mesh( geometry, mat );
|
|
|
|
|
|
- if ( this.mBones.length > 0 )
|
|
|
+ if ( this.mBones.length > 0 ) {
|
|
|
mesh = new THREE.SkinnedMesh( geometry, mat );
|
|
|
+ mesh.normalizeSkinWeights();
|
|
|
+ }
|
|
|
|
|
|
this.threeNode = mesh;
|
|
|
//mesh.matrixAutoUpdate = false;
|