Fix for meta issue: SL-14210 Prune descriptive tag from new cache filenames

master
Callum Prentice 2020-10-27 14:02:24 -07:00
parent 391ada1150
commit aae7259a0a
1 changed files with 6 additions and 2 deletions

View File

@ -187,8 +187,12 @@ const std::string LLDiskCache::metaDataToFilepath(const std::string id,
file_path << id;
file_path << "_";
file_path << (extra_info.empty() ? "0" : extra_info);
file_path << "_";
file_path << assetTypeToString(at);
//file_path << "_";
//file_path << assetTypeToString(at); // see SL-14210 Prune descriptive tag from new cache filenames
// for details of why it was removed. Note that if you put it
// back or change the format of the filename, the cache files
// files will be invalidated (and perhaps, more importantly,
// never deleted unless you delete them manually).
file_path << ".asset";
return file_path.str();