Files
effectcraft/crates/render
Bar BorerandClaude Opus 5.5 9f3e8ef810 Shapes: Add Merge Paths merges what's above it and paints the result (#2889)
* Shapes: Add Merge Paths merges what's above it and paints the result (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Tests: check the fix directly instead of assuming history or the tool's colour

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: only the Add menu's Merge Paths gets Mode Add and a paint (#2175)

Scripts keep Mode Merge and their own list: `layer.addShapeItem` does what
it did unless the menu passes `paint`, so the public `append` option goes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: Add Merge Paths' gradient runs across paths with no paint yet (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: a Repeater below an added Merge Paths doesn't widen its gradient (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: a Stroke among the paths doesn't widen an added Merge Paths' gradient (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: Add > Merge Paths gradient ignores an open line apart from the shapes (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Shapes: format the Merge Paths gradient test (#2175)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* #2175: saved projects keep their Merge Paths artwork

The renderer now drops every draw above a Merge Paths, as After Effects
does, so a project saved with painted groups above a Merge Paths and no
paint below it reopened blank (and exported blank).

Merge Paths gets a hidden Keep Group Paint property. New merges have it
off and render the After Effects way. A Merge Paths without it was saved
before this change: opening the project adds it on
(build::upgrade_shape_contents, next to Wiggle Paths' Spatial Phase),
and with it on, or missing, the renderer keeps the pre-#2175 rule
(drop only the paint above the merge in its own group, #1174), so saved
artwork renders as it did, with or without paint below the merge.

Tests: the #1174 pixel assertions come back as a saved-project case in
the render tests (as saved and as opened), and an engine test opens a
project file in the pre-PR shape, renders it, saves and reopens it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 11:21:08 +01:00
..