refactor(render): keep render remarks in the Export localisation area

Plan, render and encoder remarks now share the Export area with the
preset names; setups reject metadata that does not match the source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 11:30:10 +00:00
1 parent 82f10a053e
commit e5026ca72e
9 files changed
+24 -23

No files matched your search

+4 -4
View File
@@ -141,10 +141,10 @@ public static class RenderPreparation
if (regionMode != RegionMode.Off && mask is null && included.Count > 0)
{
mask = await SegmentAsync(input.Source, included, regionMode, options.AnalysisLongEdge, cancellationToken).ConfigureAwait(false);
if (mask is null) warnings.Add(new RenderWarning("Render.Warning.RegionsUnavailable"));
if (mask is null) warnings.Add(new RenderWarning("Export.Render.RegionsUnavailable"));
else if (regionMode == RegionMode.Auto && mask.Confidence < MinimumRegionConfidence)
{
warnings.Add(new RenderWarning("Render.Warning.RegionsUnreliable", mask.Confidence.ToString("0.00", CultureInfo.InvariantCulture)));
warnings.Add(new RenderWarning("Export.Render.RegionsUnreliable", mask.Confidence.ToString("0.00", CultureInfo.InvariantCulture)));
mask = null;
}
}
@@ -163,7 +163,7 @@ public static class RenderPreparation
if (measureStabilization)
{
stabilization = pass.SolveStabilization(included, n);
if (stabilization is null) warnings.Add(new RenderWarning("Render.Warning.StabilizationUnavailable"));
if (stabilization is null) warnings.Add(new RenderWarning("Export.Render.StabilizationUnavailable"));
}
}
@@ -231,7 +231,7 @@ public static class RenderPreparation
{
zoom = 1 / double.Max(stabilization.CropScale, MinimumCropScale);
if (stabilization.CropScale < MinimumCropScale)
warnings.Add(new RenderWarning("Render.Warning.StabilizationBorders", stabilization.CropScale.ToString("0.00", CultureInfo.InvariantCulture)));
warnings.Add(new RenderWarning("Export.Render.StabilizationBorders", stabilization.CropScale.ToString("0.00", CultureInfo.InvariantCulture)));
}
var measuredLuminance = luminance ?? NaNs(n);
return new RenderCorrections