diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-11-05 17:48:40 +0200 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-11-05 17:48:40 +0200 | 
| commit | b6afa7f7dd5eb4f6df9580a25fbffb491ccef921 (patch) | |
| tree | 7c19e191530ed2d6f114b0da27466b96db8f0630 /indra | |
| parent | 7cdaebaefec22c6d91c197370d27a578428beb13 (diff) | |
SL-16288 FIXED Dragging a file across the viewer cancels the drag and freezes the File Explorer
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 70cf839510..dddc8deb02 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -2203,6 +2203,17 @@ void LLWindowWin32::gatherInput()      }      { +        LL_PROFILE_ZONE_NAMED("gi - PeekMessage"); +        S32 msg_count = 0; +        while ((msg_count < MAX_MESSAGE_PER_UPDATE) && PeekMessage(&msg, NULL, WM_USER, WM_USER, PM_REMOVE)) +        { +            TranslateMessage(&msg); +            DispatchMessage(&msg); +            msg_count++; +        } +    } + +    {          LL_PROFILE_ZONE_NAMED("gi - function queue");          //process any pending functions          std::function<void()> curFunc; | 
