Sfoglia il codice sorgente

Update GLTF2Loader.js

Needed for `addMorphTargets`, which accesses `accessors` on `dependencies`
Daniel Hritzkiv 8 anni fa
parent
commit
9ef9955c19
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/js/loaders/GLTF2Loader.js

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

@@ -1772,6 +1772,7 @@ THREE.GLTF2Loader = ( function () {
 
 		return this._withDependencies( [
 
+			'accessors',
 			'materials'
 
 		] ).then( function ( dependencies ) {