[opensource-dev] Fix for "Attachments displayed in mouselook" bug
Philippe (Merov) Bossut
merov at lindenlab.com
Fri Oct 8 19:31:32 PDT 2010
Hi guys,
I need to go home and can't clean up the whole hg/JIRA now but, for you at
home who can build and can test, I think I've a neat one liner to fix that
one:
diff -r b0cd7e150009 indra/newview/pipeline.cpp
--- a/indra/newview/pipeline.cpp Wed Oct 06 19:57:45 2010 -0700
+++ b/indra/newview/pipeline.cpp Fri Oct 08 19:25:41 2010 -0700
@@ -9049,7 +9049,7 @@
BOOL LLPipeline::hasRenderType(const U32 type) const
{
- return mRenderTypeEnabled[type];
+ return (type != 0) && mRenderTypeEnabled[type];
}
Long story as to why that works but it does... at least in the tests I
did...
Feedback (good or bad) appreciated.
Cheers,
- Merov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20101008/ae660790/attachment.htm
More information about the opensource-dev
mailing list