Explorar o código

Merge pull request #5715 from titansoftime/dev

Removed matrixAutoUpdate From Animation
Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
b4a42ec19f
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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 ];
 		var object = this.hierarchy[ h ];
 
 
-		object.matrixAutoUpdate = true;
-
 		if ( object.animationCache === undefined ) {
 		if ( object.animationCache === undefined ) {
 
 
 			object.animationCache = {
 			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 scale = ( this.currentTime - prevKey.time ) / ( nextKey.time - prevKey.time );
 
 
 				var prevXYZ = prevKey[ type ];
 				var prevXYZ = prevKey[ type ];