diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index 76cd67c9f25f26c85e4c57e9d12819e6bce6362b..3408c3461af2730fae73631affc3eb0fa0c77402 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -306,7 +306,7 @@ void LLViewerTextureList::shutdown() break; } - if (count > 0 && !gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "").empty()) + if (count > 0 && !gDirUtilp->getExpandedFilename(LL_PATH_CACHE_PER_GRID, "").empty()) { std::string filename = get_texture_list_name(); llofstream file;