diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-27 16:11:14 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-05-27 17:09:31 +0300 |
commit | 04c4d18f70b5e6406ecf6d7b823774cdb6aff4d8 (patch) | |
tree | d7b9ed426f23430d76b5665f5062d69c59b2bea4 /indra | |
parent | ed1680811317eef115a99b13ca875f8d2c196059 (diff) |
viewer#1573 Crash at updateMovedList
According to bugsplat data drawablep is null
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 12f4c48ff6..a0d2116eaa 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -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))) { |