Improve previously added check (HUD attachments can be made visible at any time)

meow-7.2.2
Ansariel 2017-07-15 15:47:36 +02:00
parent 2b97d11f28
commit f9a6f4d0be
1 changed files with 1 additions and 1 deletions

View File

@ -10405,7 +10405,7 @@ class LLViewCheckHUDAttachments : public view_listener_t
// <FS:Ansariel> Disable Show HUD attachments if prevented by RLVa
bool enable_show_HUD_attachments()
{
return (!rlv_handler_t::isEnabled() || !gRlvAttachmentLocks.hasLockedHUD());
return (!LLPipeline::sShowHUDAttachments || !rlv_handler_t::isEnabled() || !gRlvAttachmentLocks.hasLockedHUD());
};
// </FS:Ansariel>