diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-18 22:04:32 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-18 22:04:32 +0300 |
commit | ca247e9a8003c11e8a0c49a68a24944539ec5e02 (patch) | |
tree | d9d7b96544bacf7f1018e7367f3979590a137c08 | |
parent | bb5e40a1fdc35b3a41925f91684bc76854338cfb (diff) |
SL-5161 SL-20025 Unref volume
-rw-r--r-- | indra/newview/llmeshrepository.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 2118ee74d3..9ccb42cdc5 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -4103,6 +4103,7 @@ void LLMeshRepository::notifyMeshUnavailable(const LLVolumeParams& mesh_params, if (sys_volume) { sys_volume->setMeshAssetUnavaliable(true); + LLPrimitive::getVolumeManager()->unrefVolume(sys_volume); } for (LLVOVolume* vobj : obj_iter->second) |