diff options
author | Callum Prentice <callum@gmail.com> | 2020-10-27 14:02:24 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2020-10-27 14:02:24 -0700 |
commit | aae7259a0adaddb4b2d9a2a62a0d4ff95fe5e2b3 (patch) | |
tree | 8573356edcb84d9ecd7caa4a4ae3ccf77d538d33 | |
parent | 391ada1150a861e899dcde8558e9efd4c5efc981 (diff) |
Fix for meta issue: SL-14210 Prune descriptive tag from new cache filenames
-rw-r--r-- | indra/llfilesystem/lldiskcache.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llfilesystem/lldiskcache.cpp b/indra/llfilesystem/lldiskcache.cpp index efe5e7092c..91fc1b15d1 100644 --- a/indra/llfilesystem/lldiskcache.cpp +++ b/indra/llfilesystem/lldiskcache.cpp @@ -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(); |