summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-18 22:04:32 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-18 22:04:32 +0300
commitca247e9a8003c11e8a0c49a68a24944539ec5e02 (patch)
treed9d7b96544bacf7f1018e7367f3979590a137c08 /indra
parentbb5e40a1fdc35b3a41925f91684bc76854338cfb (diff)
SL-5161 SL-20025 Unref volume
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llmeshrepository.cpp1
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)