Просмотр исходного кода

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

Ian Kerr 11 лет назад
Родитель
Сommit
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.matrixAutoUpdate = true;
 	this.matrixWorldNeedsUpdate = false;
 	this.matrixWorldNeedsUpdate = false;
 
 
-	this.accumulatedRotWeight = 0;
-	this.accumulatedPosWeight = 0;
-	this.accumulatedSclWeight = 0;
-
 	this.visible = true;
 	this.visible = true;
 
 
 	this.castShadow = false;
 	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 ) {
 	clone: function ( object, recursive ) {