diff options
author | Jacek Antonelli | 2009-01-16 20:00:15 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-17 16:51:18 -0600 |
commit | e380956210e59e8fac837582afbceed09476ec96 (patch) | |
tree | 296525e3808922cdd2344e64b6e20ca590e55c13 /linden/indra/newview/llgroupnotify.cpp | |
parent | Fixed Resident chooser not showing calling cards. (diff) | |
download | meta-impy-e380956210e59e8fac837582afbceed09476ec96.zip meta-impy-e380956210e59e8fac837582afbceed09476ec96.tar.gz meta-impy-e380956210e59e8fac837582afbceed09476ec96.tar.bz2 meta-impy-e380956210e59e8fac837582afbceed09476ec96.tar.xz |
Fixed group notice popup showing wrong item type.
Attachment was showing texture icon regardless of type.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llgroupnotify.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/linden/indra/newview/llgroupnotify.cpp b/linden/indra/newview/llgroupnotify.cpp index 3f8ff3d..eafa06c 100644 --- a/linden/indra/newview/llgroupnotify.cpp +++ b/linden/indra/newview/llgroupnotify.cpp | |||
@@ -248,9 +248,13 @@ LLGroupNotifyBox::LLGroupNotifyBox(const std::string& subject, | |||
248 | { | 248 | { |
249 | addChild(new NoticeText(std::string("subjecttitle"),LLRect(x,y,x + LABEL_WIDTH,y - LINE_HEIGHT),std::string("Attached: "),LLFontGL::sSansSerif)); | 249 | addChild(new NoticeText(std::string("subjecttitle"),LLRect(x,y,x + LABEL_WIDTH,y - LINE_HEIGHT),std::string("Attached: "),LLFontGL::sSansSerif)); |
250 | 250 | ||
251 | LLUIImagePtr item_icon = get_item_icon(mInventoryOffer->mType, | 251 | |
252 | LLInventoryType::IT_TEXTURE, | 252 | LLAssetType::EType atype; |
253 | 0, FALSE); | 253 | LLInventoryType::EType itype; |
254 | atype = mInventoryOffer->mType; | ||
255 | itype = LLInventoryType::defaultForAssetType( atype ); | ||
256 | |||
257 | LLUIImagePtr item_icon = get_item_icon(atype, itype, 0, FALSE); | ||
254 | 258 | ||
255 | 259 | ||
256 | x += LABEL_WIDTH + HPAD; | 260 | x += LABEL_WIDTH + HPAD; |