Possible fix for a variety of environment crashes in STATE_PRECACHE
parent
e00cab614e
commit
023a4602d9
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue