fix(render): apply retail marker admission to the walk
This commit is contained in:
parent
a40a57b9b3
commit
78547718c7
4 changed files with 32 additions and 0 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue