Browse Source

Don't force node matrixAutoUpdate to true in the gltf animation loader (#24284)

Scott Nagy 3 years ago
parent
commit
4fb1756296
2 changed files with 0 additions and 2 deletions
  1. 0 1
      examples/js/loaders/GLTFLoader.js
  2. 0 1
      examples/jsm/loaders/GLTFLoader.js

+ 0 - 1
examples/js/loaders/GLTFLoader.js

@@ -3481,7 +3481,6 @@
 					const target = targets[ i ];
 					const target = targets[ i ];
 					if ( node === undefined ) continue;
 					if ( node === undefined ) continue;
 					node.updateMatrix();
 					node.updateMatrix();
-					node.matrixAutoUpdate = true;
 					let TypedKeyframeTrack;
 					let TypedKeyframeTrack;
 
 
 					switch ( PATH_PROPERTIES[ target.path ] ) {
 					switch ( PATH_PROPERTIES[ target.path ] ) {

+ 0 - 1
examples/jsm/loaders/GLTFLoader.js

@@ -3817,7 +3817,6 @@ class GLTFParser {
 				if ( node === undefined ) continue;
 				if ( node === undefined ) continue;
 
 
 				node.updateMatrix();
 				node.updateMatrix();
-				node.matrixAutoUpdate = true;
 
 
 				let TypedKeyframeTrack;
 				let TypedKeyframeTrack;