Make lens-profile vignetting correction opt-in.

Applying a profile used to enable distortion, CA and vignetting together,
and the flat-field gain lifts the already tone-mapped corners above the
frame centre, over-exposing the edges. Vignetting now defaults off when a
profile is applied or restored from a camera default, and only turns on
when a profile explicitly stored vignetting: true.
This commit is contained in:
2026-11-28 16:21:19 +00:00
parent b884616889
commit be8cf3c88a
4 changed files with 30 additions and 3 deletions
+4 -1
View File
@@ -2028,7 +2028,10 @@ export function OpticsPanel({
model: result.model,
crop: result.crop,
cameraModel: photo.meta.camera ?? undefined,
corrections: { distortion: true, tca: true, vignetting: true },
// Geometry and CA are safe to correct on their own; the vignetting gain
// lifts the corners above the frame centre, so it is left for the user to
// enable on the profile they applied.
corrections: { distortion: true, tca: true, vignetting: false },
distance: 1000,
};
set({ lens: next }, 'Lens profile');