store encryption type along with the decrypted comment

This commit is contained in:
Hazim Gazov
2010-08-07 23:35:15 +00:00
parent d08468d005
commit 13678ca85f
2 changed files with 6 additions and 1 deletions

View File

@@ -142,7 +142,11 @@ virtual void completed(bool success)
{
//llinfos << "SUCCESS getting texture "<<mID<< llendl;
mViewerImage->decodedComment = LLImageMetaDataReader::ExtractEncodedComment(mFormattedImage->getData(),mFormattedImage->getDataSize());
mViewerImage->commentEncryptionType = LLImageMetaDataReader::ExtractEncodedComment(
mFormattedImage->getData(),
mFormattedImage->getDataSize(),
mViewerImage->decodedComment
);
}
else

View File

@@ -366,6 +366,7 @@ public:
LLFrameTimer mLastReferencedTimer;
std::string decodedComment;
unsigned int commentEncryptionType;
private:
LLUUID mID;