浏览代码

Fix THREE.SkinnedMesh.clone() bug (#9082)

Takahiro 9 年之前
父节点
当前提交
9c872b1cab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/objects/SkinnedMesh.js

+ 1 - 1
src/objects/SkinnedMesh.js

@@ -172,7 +172,7 @@ THREE.SkinnedMesh.prototype = Object.assign( Object.create( THREE.Mesh.prototype
 
 
 	clone: function() {
 	clone: function() {
 
 
-		return new this.constructor( this.geometry, this.material, this.useVertexTexture ).copy( this );
+		return new this.constructor( this.geometry, this.material, this.skeleton.useVertexTexture ).copy( this );
 
 
 	}
 	}