diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-08-19 20:35:41 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-08-19 20:35:41 +0300 |
commit | 19a74195dda9cfb20466f5f7b09fe1caf84813a6 (patch) | |
tree | f721ab6ef68b0a9312338a1a64a14daf4760f491 /indra/newview | |
parent | f6b831a8a73469ce031334219c69bc538dfb92ea (diff) |
SL-15855 skip scroll wheel handling when quitting
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 1d13a306ef..32f18b1d5c 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -3211,6 +3211,11 @@ void LLViewerWindow::handleScrollWheel(S32 clicks) void LLViewerWindow::handleScrollHWheel(S32 clicks) { + if (LLAppViewer::instance()->quitRequested()) + { + return; + } + LLUI::getInstance()->resetMouseIdleTimer(); LLMouseHandler* mouse_captor = gFocusMgr.getMouseCapture(); |