未验证 提交 495f4c2c 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16793 from gero3/XLoaderLGTM

Xloader can now use the defaultLoadingManager again
......@@ -204,7 +204,7 @@ THREE.XLoader = ( function () {
classCallCheck( this, XLoader );
this.debug = false;
this.manager = manager !== undefined ? manager : new THREE.DefaultLoadingManager();
this.manager = manager !== undefined ? manager : THREE.DefaultLoadingManager;
this.texloader = new THREE.TextureLoader( this.manager );
this.url = "";
this._putMatLength = 0;
......
......@@ -226,7 +226,7 @@ var XLoader = ( function () {
classCallCheck( this, XLoader );
this.debug = false;
this.manager = manager !== undefined ? manager : new DefaultLoadingManager();
this.manager = manager !== undefined ? manager : DefaultLoadingManager;
this.texloader = new TextureLoader( this.manager );
this.url = "";
this._putMatLength = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册