diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelinventory.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelinventory.cpp b/linden/indra/newview/llpanelinventory.cpp index 7277f05..631733a 100644 --- a/linden/indra/newview/llpanelinventory.cpp +++ b/linden/indra/newview/llpanelinventory.cpp | |||
@@ -1080,7 +1080,11 @@ LLTaskLandmarkBridge::LLTaskLandmarkBridge( | |||
1080 | 1080 | ||
1081 | LLUIImagePtr LLTaskLandmarkBridge::getIcon() const | 1081 | LLUIImagePtr LLTaskLandmarkBridge::getIcon() const |
1082 | { | 1082 | { |
1083 | return get_item_icon(LLAssetType::AT_LANDMARK, LLInventoryType::IT_LANDMARK, 0, FALSE); | 1083 | LLInventoryItem* item = findItem(); |
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); | ||
1084 | } | 1088 | } |
1085 | 1089 | ||
1086 | 1090 | ||