summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateravatartextures.cpp
diff options
context:
space:
mode:
authorleyla <leyla@leyla.com>2010-06-02 11:24:40 -0700
committerleyla <leyla@leyla.com>2010-06-02 11:24:40 -0700
commita282ffedf444462b71f5abc7aeac47768e7344e7 (patch)
tree6634c6131809a23c3af36645ab220e97dd63f18e /indra/newview/llfloateravatartextures.cpp
parent507410b63d2e8f5193443a8d5451ccf614ac85e7 (diff)
parent28d23e8c85ba6073cffbd3597342c43f4f9c7971 (diff)
Merge
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 290a343075..f09071e92d 100644
--- a/indra/newview/llfloateravatartextures.cpp
+++ b/indra/newview/llfloateravatartextures.cpp
@@ -163,8 +163,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++)
{