Explorar o código

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

Ian Kerr %!s(int64=11) %!d(string=hai) anos
pai
achega
3ebd1e2768
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  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 ) {