diff options
author | Steven Bennetts <steve@lindenlab.com> | 2009-08-05 01:05:39 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2009-08-05 01:05:39 +0000 |
commit | 85f940092705281f1040081ca5ebc207c3cb4a5b (patch) | |
tree | c3ba20351cd7ce83dcf09d65b5a8c5998625d2cc /indra/newview/llinventorybridge.cpp | |
parent | 7447454e7e733699f57f545bac13f46a72b916b7 (diff) |
EXT-316 Enable the Viewer to generate calling cards for any agent
Added code to store agent ID in the description field of calling cards so that we can use them to store user generated contacts.
Currently enabled as a context menu for avatars (just for initial testing).
reviewed by richard
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 5877a0b19c..bf09774203 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -1090,7 +1090,7 @@ LLFontGL::StyleFlags LLItemBridge::getLabelStyle() const } const LLViewerInventoryItem* item = getItem(); - if (LLAssetType::lookupIsLinkType(item->getActualType())) + if (item && LLAssetType::lookupIsLinkType(item->getActualType())) { font |= LLFontGL::ITALIC; } |