summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2007-09-28 23:32:53 +0000
committerDon Kjer <don@lindenlab.com>2007-09-28 23:32:53 +0000
commitb089fc559a5dc527ed5e0422e82abf3b1dd5f1b2 (patch)
treebaa68e98452406c03a3dbe21c99a901f769c8890 /indra/llimage
parentab8dd2b55008090a1f18fb107f897c736d98a760 (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')
-rw-r--r--indra/llimage/llimageworker.cpp5
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)