diff options
Diffstat (limited to 'linden/indra/newview/lltexturecache.cpp')
-rw-r--r-- | linden/indra/newview/lltexturecache.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index 8240f77..22cb6c1 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp | |||
@@ -927,12 +927,13 @@ S32 LLTextureCache::update(U32 max_time_ms) | |||
927 | } | 927 | } |
928 | 928 | ||
929 | ////////////////////////////////////////////////////////////////////////////// | 929 | ////////////////////////////////////////////////////////////////////////////// |
930 | 930 | // search for local copy of UUID-based image file | |
931 | std::string LLTextureCache::getLocalFileName(const LLUUID& id) | 931 | std::string LLTextureCache::getLocalFileName(const LLUUID& id) |
932 | { | 932 | { |
933 | // Does not include extension | 933 | // Does not include extension |
934 | std::string idstr = id.asString(); | 934 | std::string idstr = id.asString(); |
935 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, "textures", idstr); | 935 | // TODO: should we be storing cached textures in skin directory? |
936 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, "default", "textures", idstr); | ||
936 | return filename; | 937 | return filename; |
937 | } | 938 | } |
938 | 939 | ||