FIRE-33239 - HUD Effect Particles do not die when UI is disabled.
parent
e8c4d10e8d
commit
6020b58fc5
|
|
@ -309,10 +309,20 @@ void LLHUDObject::renderAllForTimer()
|
|||
{
|
||||
sHUDObjects.erase(cur_it);
|
||||
}
|
||||
else if (hud_objp->isVisible())
|
||||
// <FS:Beq> FIRE-33239 - particles do not sie when UI is disabled
|
||||
// else if (hud_objp->isVisible())
|
||||
// {
|
||||
// hud_objp->renderForTimer();
|
||||
// }
|
||||
else
|
||||
{
|
||||
hud_objp->renderForTimer();
|
||||
LLHUDEffect* effect = dynamic_cast<LLHUDEffect*>(hud_objp);
|
||||
if (effect || hud_objp->isVisible())
|
||||
{
|
||||
hud_objp->renderForTimer();
|
||||
}
|
||||
}
|
||||
// </FS:Beq>
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1547,6 +1547,13 @@ void render_ui(F32 zoom_factor, int subfield)
|
|||
LLHUDObject::renderAll();
|
||||
render_ui_2d();
|
||||
}
|
||||
// <FS:Beq> FIRE-33239 - particles do not sie when UI is disabled
|
||||
if (!render_ui)
|
||||
{
|
||||
// Make sure particle effects disappear
|
||||
LLHUDObject::renderAllForTimer();
|
||||
}
|
||||
// </FS:Beq>
|
||||
|
||||
gViewerWindow->setup2DRender();
|
||||
gViewerWindow->updateDebugText();
|
||||
|
|
|
|||
Loading…
Reference in New Issue