FIRE-33740: Fix asset blacklisting not persisting data anymore
parent
c9f88a1ca4
commit
41766caa88
|
|
@ -66,7 +66,7 @@ LLAssetType::EType S32toAssetType(S32 assetindex)
|
|||
return type;
|
||||
}
|
||||
|
||||
void FSAssetBlacklist::initSingleton()
|
||||
void FSAssetBlacklist::init()
|
||||
{
|
||||
mBlacklistFileName = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, "asset_blacklist.xml");
|
||||
loadBlacklist();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class FSAssetBlacklist : public LLSingleton<FSAssetBlacklist>
|
|||
LLSINGLETON_EMPTY_CTOR(FSAssetBlacklist);
|
||||
|
||||
public:
|
||||
void initSingleton() override;
|
||||
void init();
|
||||
bool isBlacklisted(const LLUUID& id, LLAssetType::EType type);
|
||||
void addNewItemToBlacklist(const LLUUID& id, const std::string& name, const std::string& region, LLAssetType::EType type, bool permanent = true, bool save = true);
|
||||
void addNewItemToBlacklistData(const LLUUID& id, const LLSD& data, bool save = true);
|
||||
|
|
|
|||
|
|
@ -1532,7 +1532,7 @@ bool idle_startup()
|
|||
LLFile::mkdir(user_fonts_path_name.c_str());
|
||||
|
||||
// <FS:WS> Initalize Account based asset_blacklist
|
||||
FSAssetBlacklist::instance();
|
||||
FSAssetBlacklist::getInstance()->init();
|
||||
|
||||
// <FS:Techwolf Lupindo> load per grid data
|
||||
FSData::instance().downloadAgents();
|
||||
|
|
|
|||
Loading…
Reference in New Issue