Route ZoneRenderer visibility through daemon render settings

This commit is contained in:
Meta Vens 2026-06-21 23:34:27 +01:00
commit 1bcdcce8c2
2 changed files with 9 additions and 2 deletions

View file

@ -698,7 +698,7 @@ public class ZoneRenderer : MonoBehaviour
AetheriaRuntimeDaemonRenderQueries.QueryCompassMarkers(
_daemonZoneSnapshot,
PerspectiveEntity?.DaemonEntityIndex ?? -1,
Settings.GameplaySettings.TargetDetectionInfoThreshold,
RenderSettings.TargetDetectionInfoThreshold,
_minimapDistance,
_daemonCompassMarkers);
_daemonCompassMarkersByEntityIndex.Clear();
@ -711,7 +711,7 @@ public class ZoneRenderer : MonoBehaviour
AetheriaRuntimeDaemonRenderQueries.QueryVisibleEntityIndices(
_daemonZoneSnapshot,
PerspectiveEntity?.DaemonEntityIndex ?? -1,
Settings.GameplaySettings.TargetDetectionInfoThreshold,
RenderSettings.TargetDetectionInfoThreshold,
_daemonVisibleEntityIndices);
_daemonVisibleEntityIndicesSet.Clear();
foreach (var entityIndex in _daemonVisibleEntityIndices)