fix(furni): generate scale 32 from bundles with .png frame keys
CI / check (push) Successful in 2m30s
CI / deploy (push) Successful in 1m25s
CI / publish-container (push) Successful in 48s

resolveNitroFrame now matches spritesheet frame keys that carry a .png
suffix or namespaced naming, and isScale/scaleName preserve that suffix.
Broken source sprites (missing frames or references to icon artwork) are
skipped and reported instead of aborting the whole generation, and the
studio UI surfaces the skipped count.
This commit is contained in:
openhands committed 2026-09-12 12:46:17 +02:00
1 parent 0842788a28
commit 4d720ee03c
5 files changed
+119 -29

No files matched your search

@@ -16,6 +16,7 @@ export function NitroScale32Generator({
before: string;
after: string;
count: number;
skipped?: number;
} | null>(null),
[undo, setUndo] = useState<{ hash: string; backupHash: string } | null>(
null,
@@ -78,6 +79,12 @@ export function NitroScale32Generator({
{preview.count} sprite entries will be added. Check positioning and
animations in the client after saving.
</p>
{preview.skipped ? (
<p className="text-sm text-destructive" role="alert">
{preview.skipped} sprite(s) were skipped because the source bundle
has no usable artwork for them.
</p>
) : null}
<div className="grid grid-cols-2 gap-3">
{[
["Original 64", preview.before],