diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:46:48 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:46:48 -0400 |
commit | 37dc96ccdde6263188ffc4f620492a4bb2017761 (patch) | |
tree | a30a05b08a64d3e2e83d50f1488aac902d542501 /indra/newview/llworldmipmap.cpp | |
parent | 4c03806be99d4cb0df55b345f4c758f39d7f8560 (diff) | |
parent | 215ae1ed5d79f44549ade91f7e84134ab4589447 (diff) |
automated merge
Diffstat (limited to 'indra/newview/llworldmipmap.cpp')
-rw-r--r-- | indra/newview/llworldmipmap.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llworldmipmap.cpp b/indra/newview/llworldmipmap.cpp index 1cdccd2baa..debd6b611f 100644 --- a/indra/newview/llworldmipmap.cpp +++ b/indra/newview/llworldmipmap.cpp @@ -33,6 +33,7 @@ #include "llviewerprecompiledheaders.h" #include "llworldmipmap.h" +#include "llviewercontrol.h" // LLControlGroup #include "llviewertexturelist.h" #include "math.h" // log() @@ -186,8 +187,8 @@ LLPointer<LLViewerFetchedTexture> LLWorldMipmap::getObjectsTile(U32 grid_x, U32 LLPointer<LLViewerFetchedTexture> LLWorldMipmap::loadObjectsTile(U32 grid_x, U32 grid_y, S32 level) { // Get the grid coordinates - std::string imageurl = llformat("http://map.secondlife.com.s3.amazonaws.com/map-%d-%d-%d-objects.jpg", - level, grid_x, grid_y); + std::string imageurl = gSavedSettings.getString("MapServerURL") + llformat("map-%d-%d-%d-objects.jpg", level, grid_x, grid_y); + // DO NOT COMMIT!! DEBUG ONLY!!! // Use a local jpeg for every tile to test map speed without S3 access |