diff options
| author | Cosmic Linden <cosmic@lindenlab.com> | 2026-01-02 21:34:34 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-05 20:45:57 +0200 |
| commit | 4f70d8c830c6213bafcbf40f5ff7eb72840739cc (patch) | |
| tree | edc9d8f247c1de858ef5c1d3c2e7eb26c1661af1 /indra/newview/llviewerobjectlist.cpp | |
| parent | 11e16d5ae73ec7dd0a738cb5ee2a8d2457176409 (diff) | |
secondlife/viewer#2462: Optimize unloading of prims
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
| -rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 1b38fed3bb..50edb408c7 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -65,6 +65,7 @@ #include "lltoolmgr.h" #include "lltoolpie.h" #include "llkeyboard.h" +#include "llmeshrepository.h" #include "u64.h" #include "llviewertexturelist.h" #include "lldatapacker.h" @@ -1398,6 +1399,8 @@ void LLViewerObjectList::killAllObjects() llassert((objectp == gAgentAvatarp) || objectp->isDead()); } + gMeshRepo.unregisterAllMeshes(); + cleanDeadObjects(false); if(!mObjects.empty()) |
