diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-10-29 18:01:51 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-10-29 18:01:51 -0700 |
commit | 96e46f91270d9a01eabaac03d34d8faa5c9c685b (patch) | |
tree | 8b3f7d95b1ec84a7b7d947e8bd388b99a68b3d02 | |
parent | 96b1f821c02f5111fc7486ad99e2e3b49f7befb0 (diff) |
Fix for DEV-41755
-rw-r--r-- | indra/newview/llpanelprimmediacontrols.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llpanelprimmediacontrols.cpp b/indra/newview/llpanelprimmediacontrols.cpp index c662206e77..103faf5a03 100644 --- a/indra/newview/llpanelprimmediacontrols.cpp +++ b/indra/newview/llpanelprimmediacontrols.cpp @@ -630,9 +630,13 @@ void LLPanelPrimMediaControls::draw() if(mFadeTimer.getElapsedTimeF32() >= mControlFadeTime) { - setVisible(FALSE); if(mClearFaceOnFade) { + // Hiding this object makes scroll events go missing after it fades out + // (see DEV-41755 for a full description of the train wreck). + // Only hide the controls when we're untargeting. + setVisible(FALSE); + mClearFaceOnFade = false; mTargetImplID = LLUUID::null; mTargetObjectID = LLUUID::null; |