提交 3ebd1e27 编写于 作者: I Ian Kerr

Remove blend weight accumulators from THREE.Object3D - they have been moved to...

Remove blend weight accumulators from THREE.Object3D - they have been moved to the animationCache object created by THREE.Animation.
上级 9eda44d0
......@@ -61,10 +61,6 @@ THREE.Object3D = function () {
this.matrixAutoUpdate = true;
this.matrixWorldNeedsUpdate = false;
this.accumulatedRotWeight = 0;
this.accumulatedPosWeight = 0;
this.accumulatedSclWeight = 0;
this.visible = true;
this.castShadow = false;
......@@ -533,12 +529,6 @@ THREE.Object3D.prototype = {
}
// Reset weights to be re-accumulated in the next frame
this.accumulatedRotWeight = 0;
this.accumulatedPosWeight = 0;
this.accumulatedSclWeight = 0;
},
clone: function ( object, recursive ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册