Browse Source

Update GLTF2Loader.js

Needed for `addMorphTargets`, which accesses `accessors` on `dependencies`
Daniel Hritzkiv 8 năm trước cách đây
mục cha
commit
9ef9955c19
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 ) {