fix(stage): the left-out notice leads with what happened (M8)

This commit is contained in:
Tanish Manku committed 2026-11-21 14:07:29 -07:00
1 parent d6bb4dfd60
commit 6b24865995
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@
**Test Movie** has an allowance for each step: it used to look at every element of up to
10,000 instances after every change, and give every button a whole frame's allowance at
every move of the pointer (ideas from Agapenor's #13).
* **A frame with artwork left out says so.** The status bar tells you once ("This frame
holds more artwork than AniCraft draws at once…"), Test Movie's Output panel says why a
* **A frame with artwork left out says so.** The status bar tells you once ("Some artwork
on this frame is left out…"), Test Movie's Output panel says why a
step stopped, and the commands that write frames (PNG, SVG, sequences, sprite sheet, GIF,
animated PNG and WebP, video) add `"left_out": true` and a `"warning"` to their result
instead of passing a partial picture off as the whole one. `anicraft-cli info` and the MCP
@@ -76,8 +76,8 @@ than four full passes in one step is one no machine plays in time.
are appended (onion skins, the hit-area overlay). It is a plain field of the result:
`evaluate` stays a pure function of the document and the frame.
* **The stage** says once, in the status bar, as an error that stays: "This frame holds more
artwork than AniCraft draws at once, so some of it is left out. Nothing is lost: look for
* **The stage** says once, in the status bar, as an error that stays: "Some artwork on this
frame is left out: it holds more than AniCraft draws at once. Nothing is lost. Look for
symbols nested many times over." It says it again only after a frame that was whole. The
check is skipped while playing, where it would cost an evaluation every frame; the frame
playback stops on is checked.
+1 -1
View File
@@ -240,7 +240,7 @@ fn note_left_out(app: &mut App) {
}
let cut = app.s.display_list().left_out;
if cut && !app.left_out_said {
app.status_err(tr!("This frame holds more artwork than AniCraft draws at once, so some of it is left out. Nothing is lost: look for symbols nested many times over."));
app.status_err(tr!("Some artwork on this frame is left out: it holds more than AniCraft draws at once. Nothing is lost. Look for symbols nested many times over."));
}
app.left_out_said = cut;
}