Cloud rendertype toggling should now actually... toggle.

This commit is contained in:
Shyotl
2011-05-22 00:12:25 -05:00
parent 7a907c4448
commit 21498e0486

View File

@@ -5097,7 +5097,10 @@ void LLPipeline::toggleRenderPairedTypeControl(void *data)
for(U8 i = 1 ;i < NUM_RENDER_TYPES; ++i)
{
if( typeflags & (1ULL<<i))
gPipeline.mRenderTypeEnabled[i]=on;
{
llinfos << "Toggling render type mask " << std::hex << (1ULL<<i) << (on ? " off" : " on") << std::dec << llendl;
gPipeline.mRenderTypeEnabled[i]=!on;
}
}
}