提交 6c5c5744 编写于 作者: M Mr.doob

HDRCubeTextureLoader: Fixed scope.

上级 18fef301
......@@ -102,7 +102,7 @@ THREE.HDRCubeTextureLoader.prototype.load = function ( type, urls, onLoad, onPro
texture.generateMipmaps = ( texture.encoding !== THREE.RGBEEncoding );
texture.anisotropy = 0;
var scope = this.hdrLoader;
var scope = this;
var loaded = 0;
......@@ -115,7 +115,7 @@ THREE.HDRCubeTextureLoader.prototype.load = function ( type, urls, onLoad, onPro
loaded ++;
var texData = scope._parser( buffer );
var texData = scope.hdrLoader._parser( buffer );
if ( ! texData ) return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册