Преглед изворни кода

Fix textureMode lost after changing the texture

Popov72 пре 4 година
родитељ
комит
847d8b9b56
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);
     }
 
     /**