summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-05-05 12:14:27 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-05-05 12:14:27 -0600
commit2ab6b5fd657ae0d2c59580906c35c188a697cd1f (patch)
tree3ccb343bd863aff01f479e706c5bf6bedbcc71f1 /indra/newview
parentf48d7f0d7b5c226837c0e0cc6d99c22d4b43810b (diff)
for EXT-7080: Outfit texture updates are not transmitted (in either direction) when HTTP Textures is enabled.
turn on HTTP uploading cap check for baked textures and turn off HTTP downloading checking for baked textures.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatar.cpp1
-rw-r--r--indra/newview/pipeline.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 4ed2147d3b..134af871ce 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -4094,6 +4094,7 @@ void LLVOAvatar::addBakedTextureStats( LLViewerFetchedTexture* imagep, F32 pixel
mMaxPixelArea = llmax(pixel_area, mMaxPixelArea);
mMinPixelArea = llmin(pixel_area, mMinPixelArea);
imagep->resetTextureStats();
+ imagep->setCanUseHTTP(false) ; //turn off http fetching for baked textures.
imagep->addTextureStats(pixel_area / texel_area_ratio);
imagep->setBoostLevel(boost_level);
}
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index bdcd648689..2d2fc38573 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -265,7 +265,7 @@ BOOL LLPipeline::sRenderParticleBeacons = FALSE;
BOOL LLPipeline::sRenderSoundBeacons = FALSE;
BOOL LLPipeline::sRenderBeacons = FALSE;
BOOL LLPipeline::sRenderHighlight = TRUE;
-BOOL LLPipeline::sForceOldBakedUpload = TRUE;
+BOOL LLPipeline::sForceOldBakedUpload = FALSE;
S32 LLPipeline::sUseOcclusion = 0;
BOOL LLPipeline::sDelayVBUpdate = TRUE;
BOOL LLPipeline::sFastAlpha = TRUE;