Explorar o código

Update GLTF2Loader.js

Needed for `addMorphTargets`, which accesses `accessors` on `dependencies`
Daniel Hritzkiv %!s(int64=8) %!d(string=hai) anos
pai
achega
9ef9955c19
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 ) {