mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 12:09:43 +00:00
Merge branch 'cherry-pick-31f0ef45d2bb53e0969962f23eb29350465993dd' into 'master'
Show a message if player attempts to access postprocessor hud when postprocessing is disabled. See merge request OpenMW/openmw!2306
This commit is contained in:
commit
0889635dc7
1 changed files with 3 additions and 0 deletions
|
@ -2068,7 +2068,10 @@ namespace MWGui
|
|||
void WindowManager::togglePostProcessorHud()
|
||||
{
|
||||
if (!MWBase::Environment::get().getWorld()->getPostProcessor()->isEnabled())
|
||||
{
|
||||
messageBox("Postprocessor is not enabled.");
|
||||
return;
|
||||
}
|
||||
|
||||
bool visible = mPostProcessorHud->isVisible();
|
||||
|
||||
|
|
Loading…
Reference in a new issue