소스 검색

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);
     }
 
     /**