Fatal paranoia cure
This commit is contained in:
@@ -484,7 +484,9 @@ LLJoint* LLKeyframeMotion::getJoint(U32 index)
|
|||||||
index = (S32)mJointStates.size() - 1;
|
index = (S32)mJointStates.size() - 1;
|
||||||
// </edit>
|
// </edit>
|
||||||
LLJoint* joint = mJointStates[index]->getJoint();
|
LLJoint* joint = mJointStates[index]->getJoint();
|
||||||
llassert_always (joint);
|
if(!joint) {
|
||||||
|
LL_WARNS_ONCE("Animation") << "Missing joint index:"<< index << " ID:" << mID << " Name:" << mName << LL_ENDL;
|
||||||
|
}
|
||||||
return joint;
|
return joint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2972,14 +2972,17 @@ void LLAppViewer::removeMarkerFile(bool leave_logout_marker)
|
|||||||
mMarkerFile.close() ;
|
mMarkerFile.close() ;
|
||||||
LLAPRFile::remove( mMarkerFileName );
|
LLAPRFile::remove( mMarkerFileName );
|
||||||
}
|
}
|
||||||
if (mLogoutMarkerFile != NULL && !leave_logout_marker)
|
if (mLogoutMarkerFile != NULL)
|
||||||
{
|
{
|
||||||
LLAPRFile::remove( mLogoutMarkerFileName );
|
if(!leave_logout_marker)
|
||||||
mLogoutMarkerFile = NULL;
|
{
|
||||||
}
|
LLAPRFile::remove( mLogoutMarkerFileName );
|
||||||
else
|
mLogoutMarkerFile = NULL;
|
||||||
{
|
}
|
||||||
LL_WARNS("MarkerFile") << "leaving markers because this is a second instance" << LL_ENDL;
|
else
|
||||||
|
{
|
||||||
|
LL_WARNS("MarkerFile") << "leaving markers because this is a second instance" << LL_ENDL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1270,7 +1270,7 @@ BOOL LLViewerFetchedTexture::createTexture(S32 usename/*= 0*/)
|
|||||||
mNeedsCreateTexture = FALSE;
|
mNeedsCreateTexture = FALSE;
|
||||||
if (mRawImage.isNull())
|
if (mRawImage.isNull())
|
||||||
{
|
{
|
||||||
llerrs << "LLViewerTexture trying to create texture with no Raw Image" << llendl;
|
llwarns << "LLViewerTexture trying to create texture with no Raw Image" << llendl;
|
||||||
}
|
}
|
||||||
// llinfos << llformat("IMAGE Creating (%d) [%d x %d] Bytes: %d ",
|
// llinfos << llformat("IMAGE Creating (%d) [%d x %d] Bytes: %d ",
|
||||||
// mRawDiscardLevel,
|
// mRawDiscardLevel,
|
||||||
@@ -1712,7 +1712,7 @@ bool LLViewerFetchedTexture::updateFetch()
|
|||||||
}
|
}
|
||||||
if (mIsMissingAsset)
|
if (mIsMissingAsset)
|
||||||
{
|
{
|
||||||
llassert_always(!mHasFetcher);
|
llassert(!mHasFetcher);
|
||||||
return false; // skip
|
return false; // skip
|
||||||
}
|
}
|
||||||
if (!mLoadedCallbackList.empty() && mRawImage.notNull())
|
if (!mLoadedCallbackList.empty() && mRawImage.notNull())
|
||||||
@@ -1942,8 +1942,8 @@ bool LLViewerFetchedTexture::updateFetch()
|
|||||||
mHasFetcher = FALSE;
|
mHasFetcher = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
llassert_always(mRawImage.notNull() || (!mNeedsCreateTexture && !mIsRawImageValid));
|
llassert(mRawImage.notNull() || (!mNeedsCreateTexture && !mIsRawImageValid));
|
||||||
|
|
||||||
return mIsFetching ? true : false;
|
return mIsFetching ? true : false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user