SL-19108 Fix folders not showing thumbnails
parent
3a5c41a20e
commit
9ef9efaa0e
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -299,6 +299,7 @@ public:
|
|||
static LLUIImagePtr getIcon(LLFolderType::EType preferred_type);
|
||||
virtual std::string getLabelSuffix() const;
|
||||
virtual LLFontGL::StyleFlags getLabelStyle() const;
|
||||
virtual const LLUUID& getThumbnailUUID() const;
|
||||
|
||||
void setShowDescendantsCount(bool show_count) {mShowDescendantsCount = show_count;}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue