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:
commit
c3b575f5cd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user