#4598 Fix variables being inited before settings are ready

master
Andrey Kleshchev 2025-08-29 20:33:32 +03:00 committed by Andrey Kleshchev
parent 479fee984a
commit e77eb6b531
2 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,6 @@ static void touch_default_probe(LLReflectionMap* probe)
LLReflectionMapManager::LLReflectionMapManager()
{
mDynamicProbeCount = LL_MAX_REFLECTION_PROBE_COUNT;
refreshSettings();
initCubeFree();
}

View File

@ -426,6 +426,8 @@ void LLPipeline::init()
sRenderAttachedLights = gSavedSettings.getBOOL("RenderAttachedLights");
sRenderAttachedParticles = gSavedSettings.getBOOL("RenderAttachedParticles");
mReflectionMapManager.refreshSettings();
mInitialized = true;
stop_glerror();