|
@@ -213,7 +213,7 @@ Object.assign( Texture.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
transformUv: function ( uv ) {
|
|
|
|
|
|
- if ( this.mapping !== UVMapping ) return;
|
|
|
+ if ( this.mapping !== UVMapping ) return uv;
|
|
|
|
|
|
uv.multiply( this.repeat );
|
|
|
uv.add( this.offset );
|
|
@@ -286,6 +286,8 @@ Object.assign( Texture.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ return uv;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
} );
|