1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 00:32:49 +00:00

Merge branch 'wehavegrassathome' into 'master'

Don't enable groundcover for non-default worldspaces (#7692)

Closes #7692

See merge request OpenMW/openmw!4438
This commit is contained in:
Evil Eye 2024-10-31 18:56:02 +00:00
commit c3b575f5cd

View File

@ -1455,7 +1455,7 @@ namespace MWRender
RenderingManager::WorldspaceChunkMgr newChunkMgr;
const float lodFactor = Settings::terrain().mLodFactor;
const bool groundcover = Settings::groundcover().mEnabled;
const bool groundcover = Settings::groundcover().mEnabled && worldspace == ESM::Cell::sDefaultWorldspaceId;
const bool distantTerrain = Settings::terrain().mDistantTerrain;
const double expiryDelay = Settings::cells().mCacheExpiryDelay;
if (distantTerrain || groundcover)