From 04c4d18f70b5e6406ecf6d7b823774cdb6aff4d8 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Mon, 27 May 2024 16:11:14 +0300 Subject: viewer#1573 Crash at updateMovedList According to bugsplat data drawablep is null --- indra/newview/pipeline.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra') 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))) { -- cgit v1.2.3