diff options
| author | Don Kjer <don@lindenlab.com> | 2012-10-04 00:42:31 +0000 | 
|---|---|---|
| committer | Don Kjer <don@lindenlab.com> | 2012-10-04 00:42:31 +0000 | 
| commit | 8c0aa31536c447edb6ef4fbee43f99debf593a20 (patch) | |
| tree | f12847d717afae2a57a68e614e6dd602396847e0 /indra/llappearance | |
| parent | fe52f09952c78534377f26fc2eef9acff4a9b24d (diff) | |
Adding optimization to skip alpha image analysis when it isn't needed.
Diffstat (limited to 'indra/llappearance')
| -rwxr-xr-x | indra/llappearance/lltexlayerparams.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp index 32bdba4e1c..8f1551353f 100755 --- a/indra/llappearance/lltexlayerparams.cpp +++ b/indra/llappearance/lltexlayerparams.cpp @@ -288,7 +288,6 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height)  			(mCachedProcessedTexture->getHeight() != image_tga_height) ||  			(weight_changed))  		{ -//			llinfos << "Building Cached Alpha: " << mName << ": (" << mStaticImageRaw->getWidth() << ", " << mStaticImageRaw->getHeight() << ") " << effective_weight << llendl;  			mCachedEffectiveWeight = effective_weight;  			if (!mCachedProcessedTexture) @@ -307,6 +306,7 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height)  			mStaticImageRaw = new LLImageRaw;  			mStaticImageTGA->decodeAndProcess(mStaticImageRaw, info->mDomain, effective_weight);  			mNeedsCreateTexture = TRUE;			 +			lldebugs << "Built Cached Alpha: " << info->mStaticImageFileName << ": (" << mStaticImageRaw->getWidth() << ", " << mStaticImageRaw->getHeight() << ") " << "Domain: " << info->mDomain << " Weight: " << effective_weight << llendl;  		}  		if (mCachedProcessedTexture) | 
