From c831403059842452eb284e4319f23f7694987055 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 17 Nov 2026 09:16:26 +0100 Subject: 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. --- crates/gipfel-core/src/lsq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/gipfel-core') 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, -- cgit v1.2.3