瀏覽代碼

Merge pull request #9314 from Popov72/fix-photodome

PhotoDome: Fix textureMode lost after changing the texture
David Catuhe 4 年之前
父節點
當前提交
6029e9dd93
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Helpers/textureDome.ts

+ 1 - 0
src/Helpers/textureDome.ts

@@ -66,6 +66,7 @@ export abstract class TextureDome<T extends Texture> extends TransformNode {
             this._texture.wrapV = Texture.CLAMP_ADDRESSMODE;
             this._material.reflectionTexture = this._texture;
         }
+        this._changeTextureMode(this._textureMode);
     }
 
     /**