summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateravatartextures.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-28 20:35:02 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-28 20:35:02 +0100
commitf674c143f85996903cf3494cab3f3302c4a68e3f (patch)
treeaa5be61cae72542b0742f243bd7097570e9ab3fc /indra/newview/llfloateravatartextures.cpp
parent394effa63670a8c44d94fe9be2f71e294a292414 (diff)
parenta5c9e30fc806cc8cf291b7da0fd4133ca8241fed (diff)
merge from viewer-public
Diffstat (limited to 'indra/newview/llfloateravatartextures.cpp')
-rw-r--r--indra/newview/llfloateravatartextures.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloateravatartextures.cpp b/indra/newview/llfloateravatartextures.cpp
index fd392d949a..847462a6c3 100644
--- a/indra/newview/llfloateravatartextures.cpp
+++ b/indra/newview/llfloateravatartextures.cpp
@@ -160,8 +160,7 @@ void LLFloaterAvatarTextures::onClickDump(void* data)
{
if (gAgent.isGodlike())
{
- LLFloaterAvatarTextures* self = (LLFloaterAvatarTextures*)data;
- LLVOAvatar* avatarp = find_avatar(self->mID);
+ const LLVOAvatarSelf* avatarp = gAgentAvatarp;
if (!avatarp) return;
for (S32 i = 0; i < avatarp->getNumTEs(); i++)
{