summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-17 14:51:06 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-17 14:51:06 +0200
commit9ef9efaa0e843054a18a3957d64499a2ef8b4700 (patch)
treef4c01a1c8e1f79b526ef012fb1f73802a1ae1607 /indra/newview/llinventorybridge.cpp
parent3a5c41a20e6044c8cfa71dfd1583fea0809d6a68 (diff)
SL-19108 Fix folders not showing thumbnails
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 421c1c9754..cc8e20485b 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2339,6 +2339,16 @@ LLFontGL::StyleFlags LLFolderBridge::getLabelStyle() const
return LLFontGL::NORMAL;
}
+const LLUUID& LLFolderBridge::getThumbnailUUID() const
+{
+ LLViewerInventoryCategory* cat = getCategory();
+ if (cat)
+ {
+ return cat->getThumbnailUUID();
+ }
+ return LLUUID::null;
+}
+
void LLFolderBridge::update()
{
// we know we have children but haven't fetched them (doesn't obey filter)