mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 20:07:05 -06:00
A Satin size or a Bevel & Emboss size or softness of 1e308 reached the box blur unclamped: the kernel radius saturated to ~2^62 taps and the render panicked with "capacity overflow"; 1e6 ran for minutes. Drop Shadow survived because its reach is clamped in margin(). The blur width is now capped at MAX_REACH (and NaN is 1) in one place, box_width, which both the CPU tent and the GPU's tent_kernel go through, so values from commands and from files are bounded alike. Claude-Session: https://claude.ai/code/session_01UHgFEHEsefoQoBParH47JA Co-authored-by: Claude <noreply@anthropic.com>