aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelinventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelinventory.cpp')
-rw-r--r--linden/indra/newview/llpanelinventory.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/linden/indra/newview/llpanelinventory.cpp b/linden/indra/newview/llpanelinventory.cpp
index 631733a..7277f05 100644
--- a/linden/indra/newview/llpanelinventory.cpp
+++ b/linden/indra/newview/llpanelinventory.cpp
@@ -1080,11 +1080,7 @@ LLTaskLandmarkBridge::LLTaskLandmarkBridge(
1080 1080
1081LLUIImagePtr LLTaskLandmarkBridge::getIcon() const 1081LLUIImagePtr LLTaskLandmarkBridge::getIcon() const
1082{ 1082{
1083 LLInventoryItem* item = findItem(); 1083 return get_item_icon(LLAssetType::AT_LANDMARK, LLInventoryType::IT_LANDMARK, 0, FALSE);
1084 BOOL visited = FALSE;
1085 if(item->getFlags() & LLInventoryItem::II_FLAGS_LANDMARK_VISITED) visited=TRUE;
1086 // attachment point parameter in get_item_icon is used for visited/unvisited landmark
1087 return get_item_icon(LLAssetType::AT_LANDMARK, LLInventoryType::IT_LANDMARK, visited, FALSE);
1088} 1084}
1089 1085
1090 1086