aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterimagepreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterimagepreview.cpp')
-rw-r--r--linden/indra/newview/llfloaterimagepreview.cpp3
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