From b9f14813fddc90600996c1232fe5946a4159d763 Mon Sep 17 00:00:00 2001 From: "2817212736@qq.com" <2817212736@qq.com> Date: Wed, 18 Jun 2025 17:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E6=AC=A1=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E9=A1=B5=E9=9D=A2=E7=BA=B9=E7=90=86=E4=B8=8D=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/stores/sceneStore.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7936fa5..580adf3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "material-editor", "private": true, - "version": "1.0.32", + "version": "1.0.33", "type": "module", "scripts": { "dev": "vite", diff --git a/src/stores/sceneStore.ts b/src/stores/sceneStore.ts index d913c21..badca01 100644 --- a/src/stores/sceneStore.ts +++ b/src/stores/sceneStore.ts @@ -7,6 +7,7 @@ import { ClampToEdgeWrapping, MirroredRepeatWrapping, RepeatWrapping, Texture } import { materialRenderer } from "../common/MaterialRenderer"; import { MaterialIn, MaterialOut } from "../common/MaterialSerializer"; import { GetConfig } from "../lib/libOutputConfig"; +import { AsyncDelay } from "../helpers/helper.async"; const sceneSetup = () => { let _editor: MaterialEditor | undefined; @@ -128,6 +129,7 @@ const sceneSetup = () => { UpdateTexture(); await record.Update(); + await AsyncDelay(10); await UpdateMaterialAsync(); }