Skip to content
Snippets Groups Projects
Commit a2655c36 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix potential crash

parent 39dea667
No related branches found
No related tags found
No related merge requests found
......@@ -2518,7 +2518,7 @@ void forceAppearanceUpdate()
// Trying to rebake immediately after crossing region boundary
// seems to be failure prone; adding a delay factor. Yes, this
// fix is ad-hoc and not guaranteed to work in all cases.
doAfterInterval(boost::bind(&LLVOAvatarSelf::forceBakeAllTextures, gAgentAvatarp.get(), true), 5.0);
doAfterInterval([](){ if (isAgentAvatarValid()) { gAgentAvatarp->forceBakeAllTextures(true); }}, 5.0);
}
void CheckAgentAppearanceService_httpFailure( LLSD const &aData )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment