瀏覽代碼

Remove blend weight accumulators from THREE.Object3D - they have been moved to the animationCache object created by THREE.Animation.

Ian Kerr 11 年之前
父節點
當前提交
3ebd1e2768
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0 10
      src/core/Object3D.js

+ 0 - 10
src/core/Object3D.js

@@ -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 ) {