diff options
author | Don Kjer <don@lindenlab.com> | 2007-09-28 23:32:53 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2007-09-28 23:32:53 +0000 |
commit | b089fc559a5dc527ed5e0422e82abf3b1dd5f1b2 (patch) | |
tree | baa68e98452406c03a3dbe21c99a901f769c8890 /indra/llimage/llimageworker.cpp | |
parent | ab8dd2b55008090a1f18fb107f897c736d98a760 (diff) |
EFFECTIVE MERGE: svn merge -r 68999:69916 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance into release
** This should be the last merge from branches/maintenance. All future merges will be from new maintenance-# branches off release **
ACTUAL MERGE: svn merge -r70609:70621 svn+ssh://svn/svn/linden/branches/maintenance-0-qa-r70556
RELATED MERGE: svn merge -r69921:70316 svn+ssh://svn/svn/linden/branches/maintenance-0-qa
Diffstat (limited to 'indra/llimage/llimageworker.cpp')
-rw-r--r-- | indra/llimage/llimageworker.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index 9a200cdf61..75cf24947d 100644 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -79,10 +79,7 @@ bool LLImageWorker::doWork(S32 param) } else { - S32 nc = param ? 1 : mFormattedImage->getComponents(); - mDecodedImage = new LLImageRaw(mFormattedImage->getWidth(), - mFormattedImage->getHeight(), - nc); + mDecodedImage = new LLImageRaw(); // allow possibly smaller size set during decoding } } if (!decoded) |