Brought over LLInventoryIcon
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include "llviewerinventory.h"
|
||||
#include "llinventorymodel.h"
|
||||
#include "llinventorydefines.h"
|
||||
#include "llinventoryview.h"
|
||||
#include "llinventoryicon.h"
|
||||
#include "llagent.h"
|
||||
#include "lltooldraganddrop.h"
|
||||
|
||||
@@ -311,7 +311,7 @@ void LLPanelGroupNotices::setItem(LLPointer<LLInventoryItem> inv_item)
|
||||
item_is_multi = TRUE;
|
||||
};
|
||||
|
||||
std::string icon_name = get_item_icon_name(inv_item->getType(),
|
||||
std::string icon_name = LLInventoryIcon::getIconName(inv_item->getType(),
|
||||
inv_item->getInventoryType(),
|
||||
inv_item->getFlags(),
|
||||
item_is_multi );
|
||||
@@ -469,7 +469,7 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg)
|
||||
row["columns"][0]["column"] = "icon";
|
||||
if (has_attachment)
|
||||
{
|
||||
std::string icon_name = get_item_icon_name(
|
||||
std::string icon_name = LLInventoryIcon::getIconName(
|
||||
(LLAssetType::EType)asset_type,
|
||||
LLInventoryType::IT_NONE,FALSE, FALSE);
|
||||
row["columns"][0]["type"] = "icon";
|
||||
@@ -544,7 +544,7 @@ void LLPanelGroupNotices::showNotice(const std::string& subject,
|
||||
{
|
||||
mInventoryOffer = inventory_offer;
|
||||
|
||||
std::string icon_name = get_item_icon_name(mInventoryOffer->mType,
|
||||
std::string icon_name = LLInventoryIcon::getIconName(mInventoryOffer->mType,
|
||||
LLInventoryType::IT_TEXTURE,
|
||||
0, FALSE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user