Possible fix for a variety of environment crashes in STATE_PRECACHE

master
Beq 2024-10-26 13:41:32 +01:00
parent e00cab614e
commit 023a4602d9
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ LLHeroProbeManager::~LLHeroProbeManager()
// helper class to seed octree with probes
void LLHeroProbeManager::update()
{
if (!LLPipeline::RenderMirrors || !LLPipeline::sReflectionProbesEnabled || gTeleportDisplay || LLStartUp::getStartupState() < STATE_PRECACHE)
if (!LLPipeline::RenderMirrors || !LLPipeline::sReflectionProbesEnabled || gTeleportDisplay || LLStartUp::getStartupState() < STATE_STARTED)
{
return;
}
@ -226,7 +226,7 @@ void LLHeroProbeManager::update()
void LLHeroProbeManager::renderProbes()
{
if (!LLPipeline::RenderMirrors || !LLPipeline::sReflectionProbesEnabled || gTeleportDisplay ||
LLStartUp::getStartupState() < STATE_PRECACHE)
LLStartUp::getStartupState() < STATE_STARTED)
{
return;
}

View File

@ -201,7 +201,7 @@ static bool check_priority(LLReflectionMap* a, LLReflectionMap* b)
// helper class to seed octree with probes
void LLReflectionMapManager::update()
{
if (!LLPipeline::sReflectionProbesEnabled || gTeleportDisplay || LLStartUp::getStartupState() < STATE_PRECACHE)
if (!LLPipeline::sReflectionProbesEnabled || gTeleportDisplay || LLStartUp::getStartupState() < STATE_STARTED)
{
return;
}