#4598 Fix variables being inited before settings are ready
parent
479fee984a
commit
e77eb6b531
|
|
@ -145,7 +145,6 @@ static void touch_default_probe(LLReflectionMap* probe)
|
|||
LLReflectionMapManager::LLReflectionMapManager()
|
||||
{
|
||||
mDynamicProbeCount = LL_MAX_REFLECTION_PROBE_COUNT;
|
||||
refreshSettings();
|
||||
initCubeFree();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -426,6 +426,8 @@ void LLPipeline::init()
|
|||
sRenderAttachedLights = gSavedSettings.getBOOL("RenderAttachedLights");
|
||||
sRenderAttachedParticles = gSavedSettings.getBOOL("RenderAttachedParticles");
|
||||
|
||||
mReflectionMapManager.refreshSettings();
|
||||
|
||||
mInitialized = true;
|
||||
|
||||
stop_glerror();
|
||||
|
|
|
|||
Loading…
Reference in New Issue