We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3adf478 commit a82f6bbCopy full SHA for a82f6bb
examples/js/loaders/ColladaLoader2.js
@@ -183,12 +183,7 @@ THREE.ColladaLoader.prototype = {
183
// image
184
185
var imageLoader = new THREE.ImageLoader();
186
-
187
- if ( this.crossOrigin ) {
188
189
- imageLoader.crossOrigin = this.crossOrigin;
190
191
- }
+ imageLoader.setCrossOrigin( this.crossOrigin );
192
193
function parseImage( xml ) {
194
@@ -606,10 +601,10 @@ THREE.ColladaLoader.prototype = {
606
601
texture.repeat.set( technique.repeatU, technique.repeatV );
607
602
608
603
} else {
609
604
+
610
605
texture.wrapS = THREE.RepeatWrapping;
611
texture.wrapT = THREE.RepeatWrapping;
612
613
}
614
615
texture.needsUpdate = true;
0 commit comments