浏览代码

Mirror Texture expression statement is not assignment or call

Jason Sturges 4 年之前
父节点
当前提交
a38eee2ed9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Materials/Textures/mirrorTexture.ts

+ 1 - 1
src/Materials/Textures/mirrorTexture.ts

@@ -153,7 +153,7 @@ export class MirrorTexture extends RenderTargetTexture {
 
 
         this._updateGammaSpace();
         this._updateGammaSpace();
         this._imageProcessingConfigChangeObserver = scene.imageProcessingConfiguration.onUpdateParameters.add(() => {
         this._imageProcessingConfigChangeObserver = scene.imageProcessingConfiguration.onUpdateParameters.add(() => {
-            this._updateGammaSpace;
+            this._updateGammaSpace();
         });
         });
 
 
         const engine = this.getScene()!.getEngine();
         const engine = this.getScene()!.getEngine();