mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-20 00:15:01 +02:00
* fix(algo): Path Blur clamps per-path speeds (#708) filter.blurGallery.pathBlur clamps the scalar speed to 0..500, but each entry of the documented paths array was deserialized without any clamp. The halo takes the maximum speed and computes Radius(v.max(0.0).ceil() as i32 + 1): a large finite speed saturates the float-to-int cast to i32::MAX and the + 1 overflows, so the command dies in a caught panic (and wraps to a negative halo with overflow checks off). Clamp each entry speed to the same 0..500 the scalar path uses, right where the params are built. * Path Blur test: drop an unused before-sample (a flat background can't change under blur) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Brandon Fenty <bfenty@users.noreply.github.com> Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| brush_smoothing.rs | ||
| camera_raw_noise_clamp.rs | ||
| eraser_locked.rs | ||
| gallery_colours.rs | ||
| gauss_small_sigma.rs | ||
| guide_layout_limit.rs | ||
| hdr_gamma_direction.rs | ||
| keyboard_shortcut_bulk.rs | ||
| panic_hunt.rs | ||
| path_blur_speed_clamp.rs | ||
| photoshop_oracles.rs | ||
| prefs_usage.rs | ||
| rendering_preferences.rs | ||
| smart_psd.rs | ||
| text_gamma.rs | ||
| unicode_colors.rs | ||