diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 07:21:34 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 07:21:34 +0000 |
commit | a4ef5e2b0d4e36aa98f2e4074f4ddd4cad3d3106 (patch) | |
tree | cd05fd1a94494a90e1ed6f10e5a451e86b164443 /indra/newview/llvoavatarself.cpp | |
parent | 3eadfd1502a8dcb3e04a9455edf24ae54402317a (diff) | |
parent | 22dccc74a8fbcf3231d932db39781727833b9259 (diff) |
merge from viewer2 trunk.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r-- | indra/newview/llvoavatarself.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 13e28b246a..00998b300a 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -932,6 +932,13 @@ void LLVOAvatarSelf::wearableUpdated( EWearableType type, BOOL upload_result ) { const LLVOAvatarDictionary::BakedEntry *baked_dict = baked_iter->second; const LLVOAvatarDefines::EBakedTextureIndex index = baked_iter->first; + + // if we're editing our appearance, ensure that we're not using baked textures + // The baked texture for alpha masks is set explicitly when you hit "save" + if (gAgent.cameraCustomizeAvatar()) + { + setNewBakedTexture(index,IMG_DEFAULT_AVATAR); + } if (baked_dict) { for (LLVOAvatarDefines::wearables_vec_t::const_iterator type_iter = baked_dict->mWearables.begin(); |