فهرست منبع

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