mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-25 10:27:07 -06:00
Root cause: layer_identity, the effect-map cache key, hashed pixels, masks, fill opacity and effects but not layer.advanced or layer.blend_if. Turning Transparency Shapes Layer off (which makes the whole layer the effect shape) or changing a styled group child's Blend If (which changes the composite the group's shape comes from) left the key and region unchanged, so stale maps were reused: a stroke kept rimming a hole until the cache was purged. Fix: hash layer.advanced and layer.blend_if in layer_identity (recursing into group children). Regression tests compare a warm render after each edit with a cold render after purge_effect_cache. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>