Prechádzať zdrojové kódy

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

Scott Nagy 3 rokov pred
rodič
commit
4fb1756296

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

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

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

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