summaryrefslogtreecommitdiff
path: root/indra/newview/lllocalbitmaps.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-08-18 18:51:38 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-08-18 18:51:38 +0300
commitb3916451c178fe62775b9ba9e5a66da21f5ac2b8 (patch)
tree63b838b31f0e2f5a9d8f7ad6e70eee4174288a34 /indra/newview/lllocalbitmaps.cpp
parentfe89d4c5c2f5779d43d41760600e14925e517b3d (diff)
parent1be63209331d509396bd7ee79302d511fe83d72e (diff)
Merge viewer-release and become version 3.8.4
Diffstat (limited to 'indra/newview/lllocalbitmaps.cpp')
-rwxr-xr-xindra/newview/lllocalbitmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllocalbitmaps.cpp b/indra/newview/lllocalbitmaps.cpp
index 1380345164..4e9947fca0 100755
--- a/indra/newview/lllocalbitmaps.cpp
+++ b/indra/newview/lllocalbitmaps.cpp
@@ -128,7 +128,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();