aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewtexture.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:54 -0500
committerJacek Antonelli2008-08-15 23:44:54 -0500
commitb2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch)
tree3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llpreviewtexture.cpp
parentSecond Life viewer sources 1.14.0.1 (diff)
downloadmeta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llpreviewtexture.cpp')
-rw-r--r--linden/indra/newview/llpreviewtexture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llpreviewtexture.cpp b/linden/indra/newview/llpreviewtexture.cpp
index 99d0959..27a9b52 100644
--- a/linden/indra/newview/llpreviewtexture.cpp
+++ b/linden/indra/newview/llpreviewtexture.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 5 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -476,7 +477,7 @@ void LLPreviewTexture::updateAspectRatio()
476 477
477void LLPreviewTexture::loadAsset() 478void LLPreviewTexture::loadAsset()
478{ 479{
479 mImage = gImageList.getImage(mImageID, MIPMAP_FALSE, FALSE); 480 mImage = gImageList.getImage(mImageID, MIPMAP_TRUE, FALSE);
480 mImage->setBoostLevel(LLViewerImage::BOOST_PREVIEW); 481 mImage->setBoostLevel(LLViewerImage::BOOST_PREVIEW);
481 mAssetStatus = PREVIEW_ASSET_LOADING; 482 mAssetStatus = PREVIEW_ASSET_LOADING;
482} 483}