diff options
author | Merov Linden <merov@lindenlab.com> | 2014-03-04 14:01:47 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-03-04 14:01:47 -0800 |
commit | 3441d3403f43f718d21f441b3bcf87ae183fdd9d (patch) | |
tree | 0ac65118fcdd67e8f1e4a12143e8f2e17688263b /indra/newview/llsnapshotlivepreview.h | |
parent | 013d72cc90d5c038f9cffca28dbd0660a4e05c22 (diff) |
ACME-1343 : Reset the siz eof the preview texture to be the same as the saved snapshot
Diffstat (limited to 'indra/newview/llsnapshotlivepreview.h')
-rw-r--r-- | indra/newview/llsnapshotlivepreview.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llsnapshotlivepreview.h b/indra/newview/llsnapshotlivepreview.h index 0e918d165e..7e19f77e26 100644 --- a/indra/newview/llsnapshotlivepreview.h +++ b/indra/newview/llsnapshotlivepreview.h @@ -123,8 +123,8 @@ public: LLViewerTexture* getBigThumbnailImage(); - S32 getBigThumbnailWidth() const { return 3*mThumbnailWidth ; } - S32 getBigThumbnailHeight() const { return 3*mThumbnailHeight ; } + S32 getBigThumbnailWidth() const { return mBigThumbnailWidth ; } + S32 getBigThumbnailHeight() const { return mBigThumbnailHeight ; } // Returns TRUE when snapshot generated, FALSE otherwise. static BOOL onIdle( void* snapshot_preview ); @@ -154,6 +154,8 @@ private: BOOL mThumbnailSubsampled; // TRUE if the thumbnail is a subsampled version of the mPreviewImage LLPointer<LLViewerTexture> mBigThumbnailImage ; + S32 mBigThumbnailWidth; + S32 mBigThumbnailHeight; BOOL mBigThumbnailUpToDate; S32 mCurImageIndex; |