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

ColladaLoader2: Clean up.

上级 3adf4783
......@@ -183,12 +183,7 @@ THREE.ColladaLoader.prototype = {
// image
var imageLoader = new THREE.ImageLoader();
if ( this.crossOrigin ) {
imageLoader.crossOrigin = this.crossOrigin;
}
imageLoader.setCrossOrigin( this.crossOrigin );
function parseImage( xml ) {
......@@ -606,10 +601,10 @@ THREE.ColladaLoader.prototype = {
texture.repeat.set( technique.repeatU, technique.repeatV );
} else {
texture.wrapS = THREE.RepeatWrapping;
texture.wrapT = THREE.RepeatWrapping;
}
texture.needsUpdate = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册