From 3ebd1e2768670bdd9304247184cc95da1e81a692 Mon Sep 17 00:00:00 2001 From: Ian Kerr Date: Wed, 23 Jul 2014 09:00:57 -0700 Subject: [PATCH] Remove blend weight accumulators from THREE.Object3D - they have been moved to the animationCache object created by THREE.Animation. --- src/core/Object3D.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/core/Object3D.js b/src/core/Object3D.js index 211c5531f2..c0ff4549d2 100644 --- a/src/core/Object3D.js +++ b/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 ) { -- GitLab