summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-10-29 22:37:02 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-10-29 22:37:02 +0200
commit6ec37fac60c0288e576b72b91b16d74b37dbc32d (patch)
tree48a3cfd5a3c46965fbbb69aec44a8bb05a878a5c /indra/newview/llappearancemgr.cpp
parentd0d2a6e8a4cdb134f7dc26f3bcb60490ad940357 (diff)
SL-12196 Crash at updateMeshTextures
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 22bcbad7da..fe438e8772 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -2911,7 +2911,7 @@ void LLAppearanceMgr::removeAllAttachmentsFromAvatar()
attachment_iter != attachment->mAttachedObjects.end();
++attachment_iter)
{
- LLViewerObject *attached_object = (*attachment_iter);
+ LLViewerObject *attached_object = attachment_iter->get();
if (attached_object)
{
objects_to_remove.push_back(attached_object);