diff options
author | Armin Weatherwax | 2010-03-09 23:00:38 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:01 -0500 |
commit | 523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6 (patch) | |
tree | efc2b1bf0b7ca57b4fcc5e64da555907437a408d /linden/indra/newview/lltexturectrl.cpp | |
parent | Applied patch by Kirstenlee Cinquetti for SNOW-493: LLDataPackerBinaryBuffer:... (diff) | |
download | meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.zip meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.gz meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.bz2 meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.xz |
Henri Beauchamp: Port of SG-2.0 alpha and tattoo layers (v6)
slviewer-0-v12350-AlphaAndTattooSupport-patch.zip contains the necessary
avatar_lad.xml and other artwork. The new avatar_lad.xml crashes clients
without alpha and tattoo support at startup.
Diffstat (limited to 'linden/indra/newview/lltexturectrl.cpp')
-rw-r--r-- | linden/indra/newview/lltexturectrl.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturectrl.cpp b/linden/indra/newview/lltexturectrl.cpp index f4476fb..635c2b0 100644 --- a/linden/indra/newview/lltexturectrl.cpp +++ b/linden/indra/newview/lltexturectrl.cpp | |||
@@ -1322,7 +1322,11 @@ void LLTextureCtrl::draw() | |||
1322 | mTexturep = gImageList.getImageFromFile(mFallbackImageName); | 1322 | mTexturep = gImageList.getImageFromFile(mFallbackImageName); |
1323 | mTexturep->setBoostLevel(LLViewerImageBoostLevel::BOOST_PREVIEW); | 1323 | mTexturep->setBoostLevel(LLViewerImageBoostLevel::BOOST_PREVIEW); |
1324 | } | 1324 | } |
1325 | 1325 | else // mImageAssetID == LLUUID::null | |
1326 | { | ||
1327 | mTexturep = NULL; | ||
1328 | } | ||
1329 | |||
1326 | // Border | 1330 | // Border |
1327 | LLRect border( 0, getRect().getHeight(), getRect().getWidth(), BTN_HEIGHT_SMALL ); | 1331 | LLRect border( 0, getRect().getHeight(), getRect().getWidth(), BTN_HEIGHT_SMALL ); |
1328 | gl_rect_2d( border, mBorderColor, FALSE ); | 1332 | gl_rect_2d( border, mBorderColor, FALSE ); |