Brought over LLInventoryIcon
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#include "llalertdialog.h"
|
||||
#include "llinventorymodel.h" // for gInventory
|
||||
#include "llinventorydefines.h"
|
||||
#include "llinventoryview.h" // for get_item_icon
|
||||
#include "llinventoryicon.h"
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llselectmgr.h"
|
||||
#include "llscrolllistctrl.h"
|
||||
@@ -156,7 +156,7 @@ void LLFloaterBuy::show(const LLSaleInfo& sale_info)
|
||||
LLSD row;
|
||||
|
||||
// Compute icon for this item
|
||||
std::string icon_name = get_item_icon_name(LLAssetType::AT_OBJECT,
|
||||
std::string icon_name = LLInventoryIcon::getIconName(LLAssetType::AT_OBJECT,
|
||||
LLInventoryType::IT_OBJECT,
|
||||
0x0, FALSE);
|
||||
|
||||
@@ -258,7 +258,7 @@ void LLFloaterBuy::inventoryChanged(LLViewerObject* obj,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user