Browse Source

Merge pull request #5715 from titansoftime/dev

Removed matrixAutoUpdate From Animation
Mr.doob 10 years ago
parent
commit
b4a42ec19f
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/extras/animation/Animation.js

+ 0 - 5
src/extras/animation/Animation.js

@@ -53,8 +53,6 @@ THREE.Animation.prototype.reset = function () {
 
 		var object = this.hierarchy[ h ];
 
-		object.matrixAutoUpdate = true;
-
 		if ( object.animationCache === undefined ) {
 
 			object.animationCache = {
@@ -237,9 +235,6 @@ THREE.Animation.prototype.update = (function(){
 
 				}
 
-				object.matrixAutoUpdate = true;
-				object.matrixWorldNeedsUpdate = true;
-
 				var scale = ( this.currentTime - prevKey.time ) / ( nextKey.time - prevKey.time );
 
 				var prevXYZ = prevKey[ type ];