From acc79fb13fdde28d726fc16149498dc3cd11b39c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 13:31:35 +0100 Subject: [PATCH] RenderCheck: leave the glaze on after its check, so the normal views see the shipped shader Co-Authored-By: Claude Sonnet 5.5 --- client/tests/RenderCheck.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/tests/RenderCheck.cs b/client/tests/RenderCheck.cs index 12ce528..0385719 100644 --- a/client/tests/RenderCheck.cs +++ b/client/tests/RenderCheck.cs @@ -183,7 +183,6 @@ public partial class RenderCheck : Node puppet.Glazed = true; for (int i = 0; i < 4; i++) await ToSignal(RenderingServer.Singleton, RenderingServer.SignalName.FramePostDraw); var glazed = Capture(shape, world, pngArg); - puppet.Glazed = false; var sorted = bisque.Levels.OrderBy(l => l).ToList(); float bisqueClipped = (float)bisque.Levels.Count(l => l >= 250f) / Math.Max(1, sorted.Count); @@ -198,7 +197,7 @@ public partial class RenderCheck : Node if (changedShare < MinGlazeShare) { GD.PrintErr($"RENDER FAIL: the glaze changes {changedShare:P1} of the puppet's pixels from {label}, under {MinGlazeShare:P0}; there is no glaze"); ok = false; } if (yaw == 0f && glazedClipped > MaxGlazedClipped) { GD.PrintErr($"RENDER FAIL: {glazedClipped:P1} of the glazed puppet's pixels are clipped from {label}, over {MaxGlazedClipped:P0}; the porcelain is white-out"); ok = false; } } - return ok; + return ok; // the glaze stays on, as shipped: the normal views that follow must not see it } private static float Level(Image image, int pixel)