aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturecache.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:59 -0500
committerJacek Antonelli2008-08-15 23:45:59 -0500
commit6e91a9cc3d5a610198cf526a76e2ab642f10ecd7 (patch)
treeb023869f9daa7f61ea3ab27112d37524bdd88de4 /linden/indra/newview/lltexturecache.cpp
parentSecond Life viewer sources 1.20.12 (diff)
downloadmeta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.zip
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.gz
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.bz2
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.xz
Second Life viewer sources 1.20.13
Diffstat (limited to 'linden/indra/newview/lltexturecache.cpp')
-rw-r--r--linden/indra/newview/lltexturecache.cpp5
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
931std::string LLTextureCache::getLocalFileName(const LLUUID& id) 931std::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