From c3341be03cdb5400051e0badb46c615c7340ecf6 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 14 Nov 2026 08:27:28 -0800 Subject: [PATCH] Effects: the member limit's doc comment covers clipping paths walked twice A group or layer in a clipping path that has geometry effects of its own is walked once for its members' effects and once for its own, and its members count toward the member limit each time. The doc comment of members_as_drawn now states this. --- crates/effects/src/group.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/effects/src/group.rs b/crates/effects/src/group.rs index 34cc98e3bb..1b64971a3a 100644 --- a/crates/effects/src/group.rs +++ b/crates/effects/src/group.rs @@ -905,7 +905,9 @@ pub fn evaluate_container(doc: Option<&Document>, n: &Node) -> Option { /// [`crate::reshape::own_effects_art`]), so the geometry effects of `n` reshape what its members /// draw. A clip group's clipping path only takes the geometry effects in it into its geometry /// ([`crate::clip::with_clip_effects_applied_while`]), and the members of a clipping group or -/// compound path count toward the limit below. Images, symbol instances and the other objects +/// compound path count toward the limit below. A group or layer in a clipping path that has +/// geometry effects of its own is walked twice, once for its members' effects and once for its +/// own, and its members count each time. Images, symbol instances and the other objects /// that `own_effects_art` leaves alone stay as they are, and so does a group or layer with a 3D /// effect with everything in it. Calls nested in one another, through the /// groups and layers it walks and the art it evaluates (symbol art and Pathfinder members