From 936b66b8307fee405a43a11b579a0178958111a4 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Mon, 23 Oct 2023 14:42:19 -0700 Subject: SL-20517: When attempting to find orphans, if an object claims to be its own parent the viewer logs a warning and then continues the loop without incrementing the iterator. This increments the iterator so that loop processing can continue and the viewer does not get stuck on the bad object. --- indra/newview/llviewerobjectlist.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra') diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index c479afaa52..e3658b9368 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -2200,6 +2200,7 @@ void LLViewerObjectList::findOrphans(LLViewerObject* objectp, U32 ip, U32 port) { LL_WARNS() << objectp->mID << " has self as parent, skipping!" << LL_ENDL; + ++iter; continue; } -- cgit v1.2.3