diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-04-27 14:02:10 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-04-27 14:02:10 -0400 |
commit | ed21ab1546d8870fc32b6830af5b4fe6b6c836df (patch) | |
tree | e5a75e54acdfc5727481039683c5697a2b8b7fdf /indra/newview | |
parent | 404fe5b5256dd87cdb7b7e75096a20a29ae8bf32 (diff) |
EXT-7108 Creating link to openable item should not open the item (e.g. notecard)
When you create a link to a notecard, you'll no longer open the notecard.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index c8a4b27f40..08462f4e58 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -1083,7 +1083,7 @@ void open_inventory_offer(const uuid_vec_t& items, const std::string& from_name) //////////////////////////////////////////////////////////////////////////////// // Special handling for various types. - const LLAssetType::EType asset_type = item->getType(); + const LLAssetType::EType asset_type = item->getActualType(); if (check_offer_throttle(from_name, false)) // If we are throttled, don't display { LL_DEBUGS("Messaging") << "Highlighting inventory item: " << item->getUUID() << LL_ENDL; |