MAINT-5039 FIXED Viewer crashes at logout if wearing clothing textured with a local texture
parent
3be738dc6c
commit
65e6cc6704
|
|
@ -129,7 +129,7 @@ LLLocalBitmap::LLLocalBitmap(std::string filename)
|
|||
LLLocalBitmap::~LLLocalBitmap()
|
||||
{
|
||||
// replace IDs with defaults, if set to do so.
|
||||
if(LL_LOCAL_REPLACE_ON_DEL && mValid) // fix for STORM-1837
|
||||
if(LL_LOCAL_REPLACE_ON_DEL && mValid && gAgentAvatarp) // fix for STORM-1837
|
||||
{
|
||||
replaceIDs(mWorldID, IMG_DEFAULT);
|
||||
LLLocalBitmapMgr::doRebake();
|
||||
|
|
|
|||
Loading…
Reference in New Issue