diff options
| author | Loren Shih <seraph@lindenlab.com> | 2010-10-21 14:18:29 -0400 | 
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2010-10-21 14:18:29 -0400 | 
| commit | 525de5554022b946641db446a5b5153f9e670e10 (patch) | |
| tree | d7d679724515f6eb839f87161510ba0a0d06c89b /indra/newview/llhints.cpp | |
| parent | 219cd6ecda60e1c48852f582f0994573fd0e10ae (diff) | |
| parent | 71f56a2bc9697989cd012adb57abdc922aa8ae0a (diff) | |
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llhints.cpp')
| -rw-r--r-- | indra/newview/llhints.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp index d837ed8205..7f6df627e0 100644 --- a/indra/newview/llhints.cpp +++ b/indra/newview/llhints.cpp @@ -211,9 +211,16 @@ void LLHintPopup::draw()  			else if (!targetp->isInVisibleChain())   			{  				// if target is invisible, don't draw, but keep alive in case widget comes back +				// but do make it so that it allows mouse events to pass through +				setEnabled(false); +				setMouseOpaque(false);  			}  			else  			{ +				// revert back enabled and mouse opaque state in case we disabled it before +				setEnabled(true); +				setMouseOpaque(true); +  				LLRect target_rect;  				targetp->localRectToOtherView(targetp->getLocalRect(), &target_rect, getParent()); | 
