Explorar el Código

Fix textureMode lost after changing the texture

Popov72 hace 4 años
padre
commit
847d8b9b56
Se han modificado 1 ficheros con 1 adiciones y 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);
     }
 
     /**