fix(core): tell value-type Auto settings without advice from an advised default

Auto<T>.Resolve returned default instead of the fallback for value types
because AutoValue cannot be null there. Auto<T> now records HasAdvice;
the render pipeline's ProjectValues workaround and the advisor's
ReasonKey heuristic are removed.

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 12:26:17 +00:00
1 parent 5774592c44
commit f78a76513c
9 files changed
+41 -61

No files matched your search

+2 -2
View File
@@ -138,8 +138,8 @@ internal sealed class RenderRun : IDisposable
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);
_flowQuality = ProjectValues.Get(motion.FlowQuality, FlowQualitySetting.Balanced) switch
_targetShutter = double.Clamp(motion.TargetShutterAngle.Resolve(180.0), 0, 360);
_flowQuality = motion.FlowQuality.Resolve(FlowQualitySetting.Balanced) switch
{
FlowQualitySetting.Draft => FlowQuality.Draft,
FlowQualitySetting.Best => FlowQuality.Best,