소스 검색

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