Fix for DEV-41755

meow-7.2.2
Monroe Linden 2009-10-29 18:01:51 -07:00
parent 96b1f821c0
commit 96e46f9127
1 changed files with 5 additions and 1 deletions

View File

@ -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;