소스 검색

ensure contrast edits correct mip level

Darragh Burke 5 년 전
부모
커밋
8561b53b71
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      inspector/src/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager.ts

+ 1 - 0
inspector/src/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager.ts

@@ -325,6 +325,7 @@ export class TextureCanvasManager {
 
 
     public async updateTexture() {
+        if (this._mipLevel !== 0) await this._setMipLevel(0);
         this._didEdit = true;
         const element = this._editing3D ? this._3DCanvas : this._2DCanvas;
         if (this._editing3D) {