From 7af4d75539a3618ed0fbddabf5e044777101e748 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 12 Nov 2026 00:00:46 -0800 Subject: [PATCH] Render: plain satin with no distance on an image is not drawn Both shifted copies are the same at distance 0, so the coverage mask is empty. The effect is now skipped before the image is drawn offscreen and scanned. --- crates/render/src/fx.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/render/src/fx.rs b/crates/render/src/fx.rs index ec4e1e60a..9fae7d2e1 100644 --- a/crates/render/src/fx.rs +++ b/crates/render/src/fx.rs @@ -329,8 +329,10 @@ impl Renderer { } } // Satin: the shape shifted both ways along the angle, blurred, where exactly one covers. - // With a graphic, the shape is what the object paints, as for the inner shadow. + // With a graphic, the shape is what the object paints, as for the inner shadow. Plain + // satin on a graphic with no distance compares two equal copies and is not drawn. if e.satin.on + && !(painted.is_some() && !e.satin.invert && e.satin.distance == 0.0) && let Some(c) = doc.resolve_color(&e.satin.color, 1.0) { let st = &e.satin;