浏览代码

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 6 年之前
父节点
当前提交
4f6d28b8da
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);