mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
The rotation dialog seeded its Interpolation field from the params-doc default and `rotate_arbitrary_with` fell back to bicubic, so Preferences > General > Image Interpolation (`general.image_interpolation`) never reached `image.rotation.arbitrary`. The command entry point now fills the `interpolation` param from the preference when the param is absent, the dialog seeds its field from the preference on open, and `rotate_arbitrary_with` keeps the bicubic default so the Crop tool's rotated crop and Straighten keep today's behaviour exactly. The param stays for scripts and actions (#7630). New tests in `crates/engine/src/cmd/rotate_canvas_interpolation_pref_tests.rs` cover Nearest/Bilinear/Bicubic preferences with and without an explicit param, the not-measured preference variants and the unchanged Crop/Straighten paths. Fixes #14465. Part of #14461 (EPIC-ROTATE-CANVAS).