@@ -205,7 +205,7 @@
}
public clone(): Texture {
- var newTexture = new BABYLON.Texture(this._texture.url, this.getScene(), this._noMipmap, this._invertY);
+ var newTexture = new BABYLON.Texture(this._texture.url, this.getScene(), this._noMipmap, this._invertY, this._samplingMode);
// Base texture
newTexture.hasAlpha = this.hasAlpha;
@@ -232,4 +232,4 @@
return new Texture("data:" + name, scene, noMipmap, invertY, samplingMode, onLoad, onError, data);
-}
+}