diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-12 22:57:55 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-12 22:57:55 +0100 |
| commit | 9f1f7bb5c4c32072db0bf38b192a8e892405b869 (patch) | |
| tree | 0e14596a67114f437dfbc103c9684a615bc47a77 /codegen/lsq_rectilinear.mac | |
| parent | 92d7a57d21405d9253aed332e7686f0edd109718 (diff) | |
grey out distortion controls in panorama mode; make core skip the fit
Confirmed: the cylindrical projection formulas contain no k0/k1/x0 and
its distortion derivative trait defaults are NaN, so a level-2
(distortion) fit cannot move anything there. Worse, comp_params zeroed
the distortion parameters before the (doomed) calibration - so enabling
'Fit distortion' in panorama mode silently destroyed distortion a
rectilinear fit had established.
* core: comp_params probes whether the projection actually provides
distortion derivatives (NaN trait default = no) and skips both the
calibration reset and the level-2 lsq if not. Regression test asserts
k0/k1/x0 survive a fit_distortion=true fit in cylindrical mode.
* web: the fit-distortion checkbox AND the whole distortion-profiles
group now sit in a <fieldset disabled> in cylindrical mode (opacity
0.45), so the dead controls are visibly inert.
* dist: rebuilt.
Diffstat (limited to 'codegen/lsq_rectilinear.mac')
0 files changed, 0 insertions, 0 deletions
