[opensource-dev] Possible bug in LLTextureEntry::setMediaTexGen()

Kitty sldev at catznip.com
Mon Nov 15 03:09:00 PST 2010


https://jira.secondlife.com/browse/VWR-23834 could use some reviewing most
likely :).

Since JIRA seems to have misformatted my personal attempt at a fix:

S32 LLTextureEntry::setMediaTexGen(U8 media)
{
	S32 result = setTexGen(media & TEM_TEX_GEN_MASK);
	result |= setMediaFlags(media & TEM_MEDIA_MASK);
	return result;
}

(Resulted in hitting the media cap 3 times in 8 hours vs ~5,000 times/hour
before)

Changeset that appears to have introduced the bug:
http://hg.secondlife.com/viewer-development/changeset/03bdb3e84ee0

Kitty



More information about the opensource-dev mailing list