From 000f88c9ad4fa7ea68ba4500c87e82cc08011e3e Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 15 Sep 2026 14:27:29 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=87=E5=87=86=E5=88=87?= =?UTF-8?q?=E7=89=87=E6=A0=A1=E9=AA=8C=E8=A2=AB=E5=85=9C=E5=BA=95=E7=BB=95?= =?UTF-8?q?=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 禁止 manifest 兜底重新接纳标准图集切片路径 保留自定义路径素材的扫描能力 --- .../src-tauri/src/agent/direct_runtime.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/ai-game-creator-shell/src-tauri/src/agent/direct_runtime.rs b/apps/ai-game-creator-shell/src-tauri/src/agent/direct_runtime.rs index 64343f79f..910a37e65 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/agent/direct_runtime.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/agent/direct_runtime.rs @@ -2349,6 +2349,13 @@ fn direct_game_sources_referenced_taonier_assets(root: &Path) -> Vec { ) && asset.media_type == "image/png" && asset.source.kind == GameCreationAppAssetSourceKind::Canvas && asset.local_path.starts_with("assets/") + // Canonical slices are admitted above only after the + // full slice manifest/receipt/content validation. Do + // not let this generic manifest fallback bypass it. + && !(asset.kind == "art-spritesheet-slice" + && asset + .local_path + .starts_with("assets/art-spritesheet-slices/")) }) .map(|asset| asset.local_path), );