diff options
author | Jacek Antonelli | 2008-09-12 14:59:33 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-12 14:59:39 -0500 |
commit | 80a8bab2a9dd8e77262b001af973212a6cba4a5a (patch) | |
tree | 170168232fd4e2eec5f15295a9445535969cdb76 /linden/indra/newview/llfloaterimagepreview.cpp | |
parent | Second Life viewer sources 1.21.1-RC (diff) | |
download | meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.zip meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.gz meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.bz2 meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.xz |
Second Life viewer sources 1.21.2-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterimagepreview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterimagepreview.cpp b/linden/indra/newview/llfloaterimagepreview.cpp index 92e8ad1..912a4fc 100644 --- a/linden/indra/newview/llfloaterimagepreview.cpp +++ b/linden/indra/newview/llfloaterimagepreview.cpp | |||
@@ -114,8 +114,7 @@ BOOL LLFloaterImagePreview::postBuild() | |||
114 | mSculptedPreview = new LLImagePreviewSculpted(256, 256); | 114 | mSculptedPreview = new LLImagePreviewSculpted(256, 256); |
115 | mSculptedPreview->setPreviewTarget(mRawImagep, 2.0f); | 115 | mSculptedPreview->setPreviewTarget(mRawImagep, 2.0f); |
116 | 116 | ||
117 | if ((mRawImagep->getWidth() <= LL_IMAGE_REZ_LOSSLESS_CUTOFF) && | 117 | if (mRawImagep->getWidth() * mRawImagep->getHeight () <= LL_IMAGE_REZ_LOSSLESS_CUTOFF * LL_IMAGE_REZ_LOSSLESS_CUTOFF) |
118 | (mRawImagep->getHeight() <= LL_IMAGE_REZ_LOSSLESS_CUTOFF)) | ||
119 | childEnable("lossless_check"); | 118 | childEnable("lossless_check"); |
120 | } | 119 | } |
121 | else | 120 | else |