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

Fixed AssimpLoader.

上级 abd3ec6e
......@@ -966,7 +966,8 @@
path = path.substr( path.lastIndexOf( "/" ) + 1 );
}
return ( new TextureLoader() ).load( baseURL + path );
return new THREE.TextureLoader().load( baseURL + path );
};
......@@ -1849,7 +1850,7 @@
}
}
......@@ -1872,7 +1873,7 @@
} else {
throw ( new Error( "Sorry, can't currently triangulate polys. Use the triangulate preprocessor in Assimp." ))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册