aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateravatartextures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloateravatartextures.cpp')
-rw-r--r--linden/indra/newview/llfloateravatartextures.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloateravatartextures.cpp b/linden/indra/newview/llfloateravatartextures.cpp
index d7d7dfc..5d53107 100644
--- a/linden/indra/newview/llfloateravatartextures.cpp
+++ b/linden/indra/newview/llfloateravatartextures.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 5 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -97,6 +98,7 @@ void LLFloaterAvatarTextures::draw()
97 LLFloater::draw(); 98 LLFloater::draw();
98} 99}
99 100
101#if !LL_RELEASE_FOR_DOWNLOAD
100static void update_texture_ctrl(LLVOAvatar* avatarp, 102static void update_texture_ctrl(LLVOAvatar* avatarp,
101 LLTextureCtrl* ctrl, 103 LLTextureCtrl* ctrl,
102 LLVOAvatar::ETextureIndex te) 104 LLVOAvatar::ETextureIndex te)
@@ -134,7 +136,6 @@ static LLVOAvatar* find_avatar(const LLUUID& id)
134 136
135void LLFloaterAvatarTextures::refresh() 137void LLFloaterAvatarTextures::refresh()
136{ 138{
137#if !LL_RELEASE_FOR_DOWNLOAD
138 LLVOAvatar *avatarp = find_avatar(mID); 139 LLVOAvatar *avatarp = find_avatar(mID);
139 if (avatarp) 140 if (avatarp)
140 { 141 {
@@ -177,9 +178,16 @@ void LLFloaterAvatarTextures::refresh()
177 { 178 {
178 setTitle(mTitle + ": INVALID AVATAR (" + mID.asString() + ")"); 179 setTitle(mTitle + ": INVALID AVATAR (" + mID.asString() + ")");
179 } 180 }
180#endif
181} 181}
182 182
183#else
184
185void LLFloaterAvatarTextures::refresh()
186{
187}
188
189#endif
190
183// static 191// static
184void LLFloaterAvatarTextures::onClickDump(void* data) 192void LLFloaterAvatarTextures::onClickDump(void* data)
185{ 193{