Pulled "viewer-hotfix" into "viewer-release".
commit
3678a3e6e5
|
|
@ -36,7 +36,7 @@
|
|||
const S32 LL_VERSION_MAJOR = 2;
|
||||
const S32 LL_VERSION_MINOR = 1;
|
||||
const S32 LL_VERSION_PATCH = 0;
|
||||
const S32 LL_VERSION_BUILD = 0;
|
||||
const S32 LL_VERSION_BUILD = 13828;
|
||||
|
||||
const char * const LL_CHANNEL = "Second Life Server";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
CFBundleName = "Second Life";
|
||||
|
||||
CFBundleShortVersionString = "Second Life version 2.1.0.0";
|
||||
CFBundleGetInfoString = "Second Life version 2.1.0.0, Copyright 2004-2009 Linden Research, Inc.";
|
||||
CFBundleShortVersionString = "Second Life version 2.1.0.13828";
|
||||
CFBundleGetInfoString = "Second Life version 2.1.0.13828, Copyright 2004-2009 Linden Research, Inc.";
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2.1.0.0</string>
|
||||
<string>2.1.0.13828</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
|
|
|||
|
|
@ -872,10 +872,17 @@ bool LLTextureFetchWorker::doWork(S32 param)
|
|||
cur_size = mFormattedImage->getDataSize(); // amount of data we already have
|
||||
if (mFormattedImage->getDiscardLevel() == 0)
|
||||
{
|
||||
// We already have all the data, just decode it
|
||||
mLoadedDiscard = mFormattedImage->getDiscardLevel();
|
||||
mState = DECODE_IMAGE;
|
||||
return false;
|
||||
if(cur_size > 0)
|
||||
{
|
||||
// We already have all the data, just decode it
|
||||
mLoadedDiscard = mFormattedImage->getDiscardLevel();
|
||||
mState = DECODE_IMAGE;
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true ; //abort.
|
||||
}
|
||||
}
|
||||
}
|
||||
mRequestedSize = mDesiredSize;
|
||||
|
|
@ -982,6 +989,17 @@ bool LLTextureFetchWorker::doWork(S32 param)
|
|||
}
|
||||
}
|
||||
|
||||
llassert_always(mBufferSize == cur_size + mRequestedSize);
|
||||
if(!mBufferSize)//no data received.
|
||||
{
|
||||
delete[] mBuffer;
|
||||
mBuffer = NULL;
|
||||
|
||||
//abort.
|
||||
mState = DONE;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (mFormattedImage.isNull())
|
||||
{
|
||||
// For now, create formatted image based on extension
|
||||
|
|
@ -992,8 +1010,7 @@ bool LLTextureFetchWorker::doWork(S32 param)
|
|||
mFormattedImage = new LLImageJ2C; // default
|
||||
}
|
||||
}
|
||||
|
||||
llassert_always(mBufferSize == cur_size + mRequestedSize);
|
||||
|
||||
if (mHaveAllData && mRequestedDiscard == 0) //the image file is fully loaded.
|
||||
{
|
||||
mFileSize = mBufferSize;
|
||||
|
|
@ -1052,7 +1069,12 @@ bool LLTextureFetchWorker::doWork(S32 param)
|
|||
|
||||
if (mFormattedImage->getDataSize() <= 0)
|
||||
{
|
||||
llerrs << "Decode entered with invalid mFormattedImage. ID = " << mID << llendl;
|
||||
//llerrs << "Decode entered with invalid mFormattedImage. ID = " << mID << llendl;
|
||||
|
||||
//abort, don't decode
|
||||
mState = DONE;
|
||||
setPriority(LLWorkerThread::PRIORITY_LOW | mWorkPriority);
|
||||
return true;
|
||||
}
|
||||
if (mLoadedDiscard < 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -129,8 +129,8 @@ TOOLSIT CURSOR "toolsit.cur"
|
|||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,1,0,0
|
||||
PRODUCTVERSION 2,1,0,0
|
||||
FILEVERSION 2,1,0,13828
|
||||
PRODUCTVERSION 2,1,0,13828
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
|
@ -147,12 +147,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Linden Lab"
|
||||
VALUE "FileDescription", "Second Life"
|
||||
VALUE "FileVersion", "2.1.0.0"
|
||||
VALUE "FileVersion", "2.1.0.13828"
|
||||
VALUE "InternalName", "Second Life"
|
||||
VALUE "LegalCopyright", "Copyright © 2001-2008, Linden Research, Inc."
|
||||
VALUE "OriginalFilename", "SecondLife.exe"
|
||||
VALUE "ProductName", "Second Life"
|
||||
VALUE "ProductVersion", "2.1.0.0"
|
||||
VALUE "ProductVersion", "2.1.0.13828"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
|
|||
Loading…
Reference in New Issue