Преглед на файлове

Update GLTF2Loader.js

Needed for `addMorphTargets`, which accesses `accessors` on `dependencies`
Daniel Hritzkiv преди 8 години
родител
ревизия
9ef9955c19
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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 ) {