diff options
| author | Andrey Lihatskiy <118752495+marchcat@users.noreply.github.com> | 2026-09-17 23:52:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-17 23:52:56 +0300 |
| commit | f767219366b8dbaeea95a22bd9953a587f473298 (patch) | |
| tree | a7391284f314eaf24e9684a573af7e80a0dd38ba /indra/newview/llagent.cpp | |
| parent | 9bc42804f6f574d24467ee9f56e7e67d268f0c61 (diff) | |
Revert #5856 OS hibernation prevention (#6340)
Diffstat (limited to 'indra/newview/llagent.cpp')
| -rw-r--r-- | indra/newview/llagent.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 8d0150f228..178a14f470 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -1555,8 +1555,6 @@ void LLAgent::setAFK() setControlFlags(AGENT_CONTROL_AWAY | AGENT_CONTROL_STOP); gAwayTimer.start(); } - - LLAppViewer::instance()->setPermitOSHibernation(true); } //----------------------------------------------------------------------------- @@ -1575,13 +1573,6 @@ void LLAgent::clearAFK() sendAnimationRequest(ANIM_AGENT_AWAY, ANIM_REQUEST_STOP); clearControlFlags(AGENT_CONTROL_AWAY); } - - if (isAgentAvatarValid()) - { - // Only set this if agent is inworld, login screen - // shouldn't prevent hibernation. - LLAppViewer::instance()->setPermitOSHibernation(false); - } } //----------------------------------------------------------------------------- |
