summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-06-15 17:09:43 -0400
committerLoren Shih <seraph@lindenlab.com>2010-06-15 17:09:43 -0400
commit8294f69ea38f52ae80fdb245d6045c8fba1dbb45 (patch)
tree677d9bc995dea5de67f33735c2df69824d11084b /indra/newview
parentf12aa928c557230664666ced9b55ef643bbfb7c2 (diff)
EXT-7651 FIXED Take out hack in isLocalTextureDataFinal for TextureDiscardLevels
Removed hack (this was just used for debugging avatar rez times).
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatarself.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index a4d888cd72..91af5fefde 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -1267,8 +1267,8 @@ BOOL LLVOAvatarSelf::isLocalTextureDataAvailable(const LLTexLayerSet* layerset)
//-----------------------------------------------------------------------------
BOOL LLVOAvatarSelf::isLocalTextureDataFinal(const LLTexLayerSet* layerset) const
{
- //const U32 desired_tex_discard_level = gSavedSettings.getU32("TextureDiscardLevel");
- const U32 desired_tex_discard_level = 0; // SERAPH hack to not bake textures on lower discard levels.
+ const U32 desired_tex_discard_level = gSavedSettings.getU32("TextureDiscardLevel");
+ // const U32 desired_tex_discard_level = 0; // hack to not bake textures on lower discard levels.
for (U32 i = 0; i < mBakedTextureDatas.size(); i++)
{
@@ -1299,8 +1299,8 @@ BOOL LLVOAvatarSelf::isLocalTextureDataFinal(const LLTexLayerSet* layerset) cons
BOOL LLVOAvatarSelf::isAllLocalTextureDataFinal() const
{
- // const U32 desired_tex_discard_level = gSavedSettings.getU32("TextureDiscardLevel");
- const U32 desired_tex_discard_level = 0; // SERAPH hack to not bake textures on lower discard levels
+ const U32 desired_tex_discard_level = gSavedSettings.getU32("TextureDiscardLevel");
+ // const U32 desired_tex_discard_level = 0; // hack to not bake textures on lower discard levels
for (U32 i = 0; i < mBakedTextureDatas.size(); i++)
{