summaryrefslogtreecommitdiff
path: root/crates/gipfel-core
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-17 09:16:26 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-17 09:16:26 +0100
commitc831403059842452eb284e4319f23f7694987055 (patch)
tree3746b526507bfd147e4d3e68b46f1fac36479199 /crates/gipfel-core
parentbc11f74636b216224b59a3a97f05b050a5ab7988 (diff)
web+core: clearer projection labels 'Normal (rectilinear)' / 'Panorama (cylindrical)'
The dropdown mixed styles ('Rectilinear projection' vs 'Cylindrical (panoramic)'). Both options now lead with the user-facing word and put the geometric name in parentheses. The same-side fit error refers to 'Panorama (cylindrical) mode' to match the menu entry.
Diffstat (limited to 'crates/gipfel-core')
-rw-r--r--crates/gipfel-core/src/lsq.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/gipfel-core/src/lsq.rs b/crates/gipfel-core/src/lsq.rs
index 078d421..fbce1a5 100644
--- a/crates/gipfel-core/src/lsq.rs
+++ b/crates/gipfel-core/src/lsq.rs
@@ -469,7 +469,7 @@ pub fn comp_params(
let ratio = far.x.abs() / near.x.abs();
if ratio < min_ratio * 0.9 {
return bail(format!(
- "{} is {:.1} times farther from the image center than {} ({:.0} px vs {:.0} px, both {} of center). A pair {:.1} deg apart in azimuth needs a distance ratio of at least {:.0} in rectilinear mode. This looks like a panorama - switch to cylindrical mode, or place the view center between the peaks.",
+ "{} is {:.1} times farther from the image center than {} ({:.0} px vs {:.0} px, both {} of center). A pair {:.1} deg apart in azimuth needs a distance ratio of at least {:.0} in rectilinear mode. This looks like a panorama - switch to Panorama (cylindrical) mode, or place the view center between the peaks.",
far.name,
ratio,
near.name,