Forráskód Böngészése

Merge pull request #5667 from TrevorDev/ktxClone

support material cloning with ktx
David Catuhe 6 éve
szülő
commit
c543ee17aa
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);