From 0e4137474396f44d1a2737b043a67d7ac17f89e9 Mon Sep 17 00:00:00 2001 From: Rohacan Hirons Date: Wed, 11 Jun 2025 12:38:41 +0200 Subject: [PATCH] With previous code update muting a sound by its UUID will add a flag NONE, then checking the existence of a flag is not enough we have to be sure flag value is 0 --- indra/newview/fsassetblacklist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/fsassetblacklist.cpp b/indra/newview/fsassetblacklist.cpp index be967a8c9e..ce42f0c257 100644 --- a/indra/newview/fsassetblacklist.cpp +++ b/indra/newview/fsassetblacklist.cpp @@ -253,7 +253,7 @@ void FSAssetBlacklist::addNewItemToBlacklistData(const LLUUID& id, const LLSD& d mBlacklistData[id] = data; } - if (type == LLAssetType::AT_SOUND && !data.has("flag")) + if (type == LLAssetType::AT_SOUND && data["flag"].asInteger() == 0) { LLFileSystem::removeFile(id, LLAssetType::AT_SOUND); std::string wav_path = gDirUtilp->getExpandedFilename(LL_PATH_FS_SOUND_CACHE, id.asString()) + ".dsf";