store encryption type along with the decrypted comment
This commit is contained in:
@@ -142,7 +142,11 @@ virtual void completed(bool success)
|
|||||||
{
|
{
|
||||||
|
|
||||||
//llinfos << "SUCCESS getting texture "<<mID<< llendl;
|
//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
|
else
|
||||||
|
|||||||
@@ -366,6 +366,7 @@ public:
|
|||||||
LLFrameTimer mLastReferencedTimer;
|
LLFrameTimer mLastReferencedTimer;
|
||||||
|
|
||||||
std::string decodedComment;
|
std::string decodedComment;
|
||||||
|
unsigned int commentEncryptionType;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
LLUUID mID;
|
LLUUID mID;
|
||||||
|
|||||||
Reference in New Issue
Block a user