Snowgobe 1.4.2 to 1.5.0 patch part 1 (no rejects)
This commit is contained in:
@@ -412,6 +412,8 @@ void LLViewerImage::init(bool firstinit)
|
||||
mForceToSaveRawImage = FALSE ;
|
||||
mSavedRawDiscardLevel = -1 ;
|
||||
mDesiredSavedRawDiscardLevel = -1 ;
|
||||
|
||||
mCanUseHTTP = true; //default on if cap/settings allows us
|
||||
}
|
||||
|
||||
// virtual
|
||||
@@ -1251,7 +1253,7 @@ bool LLViewerImage::updateFetch()
|
||||
// bypass texturefetch directly by pulling from LLTextureCache
|
||||
bool fetch_request_created = false;
|
||||
fetch_request_created = LLAppViewer::getTextureFetch()->createRequest(mUrl, getID(),getTargetHost(), decode_priority,
|
||||
w, h, c, desired_discard, needsAux());
|
||||
w, h, c, desired_discard, needsAux(), mCanUseHTTP);
|
||||
|
||||
if (fetch_request_created)
|
||||
{
|
||||
@@ -1330,7 +1332,7 @@ BOOL LLViewerImage::forceFetch()
|
||||
c = getComponents();
|
||||
}
|
||||
fetch_request_created = LLAppViewer::getTextureFetch()->createRequest(mUrl, getID(),getTargetHost(), maxDecodePriority(),
|
||||
w, h, c, desired_discard, needsAux());
|
||||
w, h, c, desired_discard, needsAux(), mCanUseHTTP);
|
||||
|
||||
if (fetch_request_created)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user