Fatal paranoia cure
This commit is contained in:
@@ -484,7 +484,9 @@ LLJoint* LLKeyframeMotion::getJoint(U32 index)
|
||||
index = (S32)mJointStates.size() - 1;
|
||||
// </edit>
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -2972,14 +2972,17 @@ void LLAppViewer::removeMarkerFile(bool leave_logout_marker)
|
||||
mMarkerFile.close() ;
|
||||
LLAPRFile::remove( mMarkerFileName );
|
||||
}
|
||||
if (mLogoutMarkerFile != NULL && !leave_logout_marker)
|
||||
if (mLogoutMarkerFile != NULL)
|
||||
{
|
||||
LLAPRFile::remove( mLogoutMarkerFileName );
|
||||
mLogoutMarkerFile = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_WARNS("MarkerFile") << "leaving markers because this is a second instance" << LL_ENDL;
|
||||
if(!leave_logout_marker)
|
||||
{
|
||||
LLAPRFile::remove( mLogoutMarkerFileName );
|
||||
mLogoutMarkerFile = NULL;
|
||||
}
|
||||
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;
|
||||
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 ",
|
||||
// mRawDiscardLevel,
|
||||
@@ -1712,7 +1712,7 @@ bool LLViewerFetchedTexture::updateFetch()
|
||||
}
|
||||
if (mIsMissingAsset)
|
||||
{
|
||||
llassert_always(!mHasFetcher);
|
||||
llassert(!mHasFetcher);
|
||||
return false; // skip
|
||||
}
|
||||
if (!mLoadedCallbackList.empty() && mRawImage.notNull())
|
||||
@@ -1942,8 +1942,8 @@ bool LLViewerFetchedTexture::updateFetch()
|
||||
mHasFetcher = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
llassert_always(mRawImage.notNull() || (!mNeedsCreateTexture && !mIsRawImageValid));
|
||||
|
||||
llassert(mRawImage.notNull() || (!mNeedsCreateTexture && !mIsRawImageValid));
|
||||
|
||||
return mIsFetching ? true : false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user