From 9ef9955c19bb8a95b50a34572a8601abdb5cce6f Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Tue, 15 Aug 2017 15:33:53 -0400 Subject: [PATCH] Update GLTF2Loader.js Needed for `addMorphTargets`, which accesses `accessors` on `dependencies` --- examples/js/loaders/GLTF2Loader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/js/loaders/GLTF2Loader.js b/examples/js/loaders/GLTF2Loader.js index eae5096605..9b80369208 100644 --- a/examples/js/loaders/GLTF2Loader.js +++ b/examples/js/loaders/GLTF2Loader.js @@ -1772,6 +1772,7 @@ THREE.GLTF2Loader = ( function () { return this._withDependencies( [ + 'accessors', 'materials' ] ).then( function ( dependencies ) { -- GitLab