Files
effectcraft/crates
MeanTemperatureandClaude Opus 5.5 1855d02c47 fix(render): Fill keeps a scaled-up text layer's working image small (#4158) (#4159)
* fix(render): Fill keeps a scaled-up text layer's working image small (#4158)

A layer's effect stack skips the cover of the whole layer rectangle only
when every effect is in SKIPS_COVER. Fill was not, so a text layer with
Fill scaled up to ~900 % got a working image the size of the scaled layer
rectangle on every frame, and a render reached tens of GB.

Fill without Invert only recolours pixels the layer already has (masked
or not), so it now skips the cover too. Inverted, it paints the layer's
transparent area and keeps it. The check reads the instance's Invert
value, so EffectSpec gains skips_cover_for(params).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(render): a feathered Fill keeps the cover (#4158)

With a feather, a Fill mask edge outside the painted pixels still blurs
into them, so the coverage has to be computed beyond the painted bounds.
Keep the cover when either feather is set; unfeathered Fill (the default)
still skips it. Adds a covered-reference test with a feathered mask whose
edge lies just outside the painted content (fails without this change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:52:51 +01:00
..
…