diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-03-10 17:33:43 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-03-10 17:33:43 -0700 |
commit | 5b7f8c719b4a5c0193fe4dd16ace94338c37f14d (patch) | |
tree | 8ed529751494ca7f6b319a7fc9e19f756752c5ff /indra/llimage | |
parent | f69e576341ac5904ff68536279c4ce73e7d52a1b (diff) |
debug code for EXT-5599: Viewer crashes consistently, in Linden Homes region.
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index 5649b4cab7..7d0de18c7c 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -157,8 +157,9 @@ U8* LLImageBase::allocateData(S32 size) llerrs << llformat("LLImageBase::allocateData called with bad dimensions: %dx%dx%d",mWidth,mHeight,mComponents) << llendl; } } - else if (size <= 0 || (size > 4096*4096*16 && sSizeOverride == FALSE)) + if (size < 1 || (size > 4096*4096*16 && sSizeOverride == FALSE)) { + llinfos << "width: " << mWidth << " height: " << mHeight << " components: " << mComponents << llendl ; llerrs << "LLImageBase::allocateData: bad size: " << size << llendl; } |