diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-11-25 10:48:25 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-11-25 10:48:25 -0500 |
commit | 33450e6f1fc95e3552d2115bf7e4fcf05f3d7916 (patch) | |
tree | c1eb91a2cf7c6346d5c5d9c72a1ed841643ee52c /indra/newview/llvoavatarself.cpp | |
parent | 41eb231e6a41da13549e5cbd4cfe6f5efeab74b1 (diff) | |
parent | ccf6cb3f9ba387117720d700b73ac8e05dbf1f75 (diff) |
Automated merge of ssh://hg.lindenlab.com/tulla/avatar-pipeline-2-0/
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r-- | indra/newview/llvoavatarself.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index d9c5e932a2..f3e787ae7e 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -318,11 +318,6 @@ BOOL LLVOAvatarSelf::buildMenus() } } - - if (!attachment_found) - { - gAttachPieMenu->addSeparator(); - } } if (gDetachBodyPartPieMenus[i]) @@ -362,11 +357,6 @@ BOOL LLVOAvatarSelf::buildMenus() break; } } - - if (!attachment_found) - { - gDetachPieMenu->addSeparator(); - } } } @@ -1849,6 +1839,13 @@ ETextureIndex LLVOAvatarSelf::getBakedTE( const LLTexLayerSet* layerset ) const } +void LLVOAvatarSelf::setNewBakedTexture(LLVOAvatarDefines::EBakedTextureIndex i, const LLUUID &uuid) +{ + ETextureIndex index = LLVOAvatarDictionary::bakedToLocalTextureIndex(i); + setNewBakedTexture(index, uuid); +} + + //----------------------------------------------------------------------------- // setNewBakedTexture() // A new baked texture has been successfully uploaded and we can start using it now. |