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
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to