提交 0e93351e 编写于 作者: K Kai Salmen

#12900 Fixed wrong scope in case of error in loadMtl

上级 cd9e4e56
......@@ -1361,7 +1361,7 @@ THREE.OBJLoader2 = (function () {
var onError = function ( event ) {
var output = 'Error occurred while downloading "' + resource.url + '"';
this.logger.logError( output + ': ' + event );
scope.logger.logError( output + ': ' + event );
throw output;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册