summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-11 15:38:17 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-11 15:38:17 -0800
commit1dd4feee4fa8579fe4546d2bbad97a79b29d7060 (patch)
tree0e09a1d93c36bc7f6eae43b7b49622594e4c649b /indra/newview
parent0ab0bea0092f175e5dbd8b454f84092f19f4ce3a (diff)
Avoid an assertion failure in texture baking. Reviewed by Nyx. Deemed 'tiny'...
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 6e93bf1bf2..d0acb0bd39 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6822,7 +6822,7 @@ void LLVOAvatar::useBakedTexture( const LLUUID& id )
local_tex_iter != baked_dict->mLocalTextures.end();
++local_tex_iter)
{
- setBakedReady(*local_tex_iter, TRUE);
+ if (isSelf()) setBakedReady(*local_tex_iter, TRUE);
}
// ! BACKWARDS COMPATIBILITY !