提交 fd514594 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #12325 from tentone/AssimpLoader-Closure

Fix AssimpLoader error in google closure.
......@@ -14,8 +14,8 @@ THREE.AssimpLoader.prototype = {
crossOrigin: 'Anonymous',
load: function ( url, onLoad, onProgress, onError ) {
load: function ( url, onLoad, onProgress, onError ) {
var scope = this;
var path = THREE.Loader.prototype.extractUrlBase( url );
......@@ -1021,17 +1021,6 @@ THREE.AssimpLoader.prototype = {
};
var nameTexMapping = {
"$tex.ambient": "ambientMap",
"$clr.diffuse": "map",
"$clr.specular": "specMap",
"$clr.emissive": "emissive",
"$clr.transparent": "alphaMap",
"$clr.reflective": "reflectMap",
};
var nameTypeMapping = {
"?mat.name": "string",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册