[FIRE-32311] Fix for annoying "particles hidden" text
Now shows when render debug is in usemaster
parent
286c390262
commit
cd7293aecd
|
|
@ -835,6 +835,13 @@ public:
|
|||
ypos += y_inc;
|
||||
}
|
||||
|
||||
// <FS:Beq> FIRE-32311 - Only show particle text when showing render debug info (relocate pre-existing change by Liny)
|
||||
if (LLPipeline::toggleRenderTypeControlNegated(LLPipeline::RENDER_TYPE_PARTICLES))
|
||||
{
|
||||
addText(xpos, ypos, particle_hiding);
|
||||
ypos += y_inc;
|
||||
}
|
||||
// </FS:Beq>
|
||||
LLVertexBuffer::sBindCount = LLImageGL::sBindCount =
|
||||
LLVertexBuffer::sSetCount = LLImageGL::sUniqueCount =
|
||||
gPipeline.mNumVisibleNodes = LLPipeline::sVisibleLightCount = 0;
|
||||
|
|
@ -932,14 +939,6 @@ public:
|
|||
}
|
||||
// </FS:PP>
|
||||
|
||||
// <FS:LO> pull the text saying if particles are hidden out from beacons
|
||||
if (LLPipeline::toggleRenderTypeControlNegated(LLPipeline::RENDER_TYPE_PARTICLES))
|
||||
{
|
||||
addText(xpos, ypos, particle_hiding);
|
||||
ypos += y_inc;
|
||||
}
|
||||
// </FS:LO>
|
||||
|
||||
// only display these messages if we are actually rendering beacons at this moment
|
||||
// <FS:LO> Always show the beacon text regardless if the floater is visible
|
||||
// <FS:Ansa> ...and if we want to see it
|
||||
|
|
|
|||
Loading…
Reference in New Issue