Browse Source

support material cloning with ktx

Trevor Baron 6 years ago
parent
commit
07bd3f386f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/Textures/babylon.texture.ts

+ 1 - 1
src/Materials/Textures/babylon.texture.ts

@@ -255,7 +255,7 @@ module BABYLON {
 
             let load = () => {
                 if (this._texture && this._texture._invertVScale) {
-                    this.vScale *= -1;
+                    this.vScale = -1;
                 }
                 if (this.onLoadObservable.hasObservers()) {
                     this.onLoadObservable.notifyObservers(this);