.ai import: Scatter brush art turns over with its unlinked opacity masks

Scatter brush art is read turned over, as Art brush art is. The turn now
goes through the same helper as Art brushes, so the art of opacity masks
that don't move with their objects is turned over too and stays lined up
with the art. Fixes the "Unlinked spray" case of
scatter_and_art_brush_mask_art_round_trips.
This commit is contained in:
dotCooCoo
2026-11-17 09:45:03 -08:00
parent 2733c8c85c
commit 6f12103147
+1 -1
View File
@@ -577,7 +577,7 @@ pub(super) fn finish_brushes_within(
DraftKind::Scatter { brush, art: name } => copy(&name).map(|mut a| {
// Each copy is the section turned over: its side with y up draws down the page
// before the copy's rotation, and a brush draws art's y (down here) down the page.
a.transform(Affine::scale_non_uniform(1.0, -1.0), false);
turn_over(&mut a);
BrushKind::Scatter(Scatter { art: a, ..brush })
}),
DraftKind::Art { mut brush, art: name, settings } => copy(&name).map(|mut a| {