fix(render): apply retail marker admission to the walk

This commit is contained in:
Erik 2026-08-31 04:31:22 +02:00
parent a40a57b9b3
commit 78547718c7
4 changed files with 32 additions and 0 deletions

View file

@ -3314,6 +3314,9 @@ public sealed partial class WbDrawDispatcher : IDisposable
// a non-Setup single-mesh entity (see the flat MeshRef call site).
bool? entityHasCutoutSubsetOverride = null)
{
if (_meshAdapter.IsRuntimeHiddenMarker(meshRef.GfxObjId))
return true;
bool entityHasCutoutSubset = entityHasCutoutSubsetOverride ?? renderData.HasCutoutSubset;
bool allTexturesReady = true;
for (int batchIdx = 0; batchIdx < renderData.Batches.Count; batchIdx++)