From 8283f656941b341aeaac3a59d573b8a2a6c3de00 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Fri, 30 Jun 2017 09:29:17 -0700 Subject: [PATCH] Editor: Replaced GLTFLoader with GLTF2Loader. See #11649. --- editor/index.html | 2 +- editor/js/Loader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/index.html b/editor/index.html index 321600354a..fd3d6bc532 100644 --- a/editor/index.html +++ b/editor/index.html @@ -23,7 +23,7 @@ - + diff --git a/editor/js/Loader.js b/editor/js/Loader.js index 4479669f04..b228d5b7cb 100644 --- a/editor/js/Loader.js +++ b/editor/js/Loader.js @@ -176,7 +176,7 @@ var Loader = function ( editor ) { var contents = event.target.result; - var loader = new THREE.GLTFLoader(); + var loader = new THREE.GLTF2Loader(); loader.parse( contents, function ( result ) { result.scene.name = filename; -- GitLab