mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 13:33:51 +00:00
.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:
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user