viewer#1573 Crash at updateMovedList

According to bugsplat data drawablep is null
master
Andrey Kleshchev 2024-05-27 16:11:14 +03:00 committed by Andrey Kleshchev
parent ed16808113
commit 04c4d18f70
1 changed files with 5 additions and 0 deletions

View File

@ -1885,6 +1885,11 @@ void LLPipeline::updateMovedList(LLDrawable::drawable_vector_t& moved_list)
{
LLDrawable::drawable_vector_t::iterator curiter = iter++;
LLDrawable *drawablep = *curiter;
if (!drawablep)
{
iter = moved_list.erase(curiter);
continue;
}
bool done = true;
if (!drawablep->isDead() && (!drawablep->isState(LLDrawable::EARLY_MOVE)))
{