Explorar o código

Fix textureMode lost after changing the texture

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
847d8b9b56
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
     }
 
     /**