From 6f121031479457accbcb7441da01c11d8f536634 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 17 Nov 2026 09:45:03 -0800 Subject: [PATCH] .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. --- crates/eps/src/import/ai/brush.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eps/src/import/ai/brush.rs b/crates/eps/src/import/ai/brush.rs index dab29a3f72..23982759a0 100644 --- a/crates/eps/src/import/ai/brush.rs +++ b/crates/eps/src/import/ai/brush.rs @@ -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| {