diff options
Diffstat (limited to 'linden/indra/newview/lltexturecache.cpp')
-rw-r--r-- | linden/indra/newview/lltexturecache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index 22d9959..d33d507 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp | |||
@@ -797,6 +797,8 @@ std::string LLTextureCache::getLocalFileName(const LLUUID& id) | |||
797 | // Does not include extension | 797 | // Does not include extension |
798 | std::string idstr = id.asString(); | 798 | std::string idstr = id.asString(); |
799 | // TODO: should we be storing cached textures in skin directory? | 799 | // TODO: should we be storing cached textures in skin directory? |
800 | //We use LL_PATH_SKINS because the default textures (water normal map etc) are delivered in the SKINS path. | ||
801 | //Turns out we can't change this to LL_PATH_CACHE or these important textures will be removed when the user clears their cache. | ||
800 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, "default", "textures", idstr); | 802 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, "default", "textures", idstr); |
801 | return filename; | 803 | return filename; |
802 | } | 804 | } |