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

+2 -2
View File
@@ -60,7 +60,7 @@ public sealed class RenderPipeline(IReadOnlyList<IVideoEncoderProvider> encoders
var notice = setup.Encoder.Notices.LastOrDefault() ?? new EncoderNotice(EncoderNotices.NoEncoder, setup.Encoder.Settings.Codec.ToString());
throw new RenderException(notice.Key, $"No encoder can produce {target.Export.Codec} here ({setup.Encoder.Status})", notice.Args);
}
if (setup.Plan.Frames.Count == 0) throw new RenderException("Render.Error.NoFrames", "Every frame is excluded.");
if (setup.Plan.Frames.Count == 0) throw new RenderException("Export.Render.NoFrames", "Every frame is excluded.");
using var run = new RenderRun(input, corrections, setup, options, progress);
return await run.ExecuteAsync(cancellationToken).ConfigureAwait(false);
}
@@ -135,7 +135,7 @@ internal sealed class RenderRun : IDisposable
if (exposure.HighlightKnee is { } knee)
{
if (knee is > 0 and < 1) _knee = (float)knee;
else _warnings.Add(new RenderWarning("Render.Warning.KneeIgnored", knee.ToString(CultureInfo.InvariantCulture)));
else _warnings.Add(new RenderWarning("Export.Render.KneeIgnored", knee.ToString(CultureInfo.InvariantCulture)));
}
var motion = input.Project.Motion;
_targetShutter = double.Clamp(ProjectValues.Get(motion.TargetShutterAngle, 180.0), 0, 360);