diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-09-12 23:09:51 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-09-12 23:09:51 -0400 |
commit | 74c8c5c6aff988ca75753936ca70abad05bf99d3 (patch) | |
tree | 6470ce4ed2169725782f0c097c8f076f63a2dbc6 /indra/newview | |
parent | 993dff2ea01c7b11ea7cfc0bffa66adac2a70f82 (diff) |
CHOP-763: Turn off simulated-mouse-event childFromPoint() warnings.
Initial implementation of "LLWindow" operations "mouseDown" etc. would always
produce a warning in the response to the effect that the target LLView wasn't
frontmost. These warnings were spurious; conversation with Richard makes it
seem unlikely that the warning can be made real. Suppressing.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llwindowlistener.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llwindowlistener.cpp b/indra/newview/llwindowlistener.cpp index ac8e981c4e..6b3ae98ffc 100644 --- a/indra/newview/llwindowlistener.cpp +++ b/indra/newview/llwindowlistener.cpp @@ -385,6 +385,11 @@ static void mouseEvent(const MouseFunc& func, const LLSD& request) << pos.mX << ", " << pos.mY << ")")); } +/*==========================================================================*| + // NEVER MIND: the LLView tree defines priority handler layers in + // front of the normal widget set, so this has never yet produced + // anything but spam warnings. (sigh) + // recursive childFromPoint() should give us the frontmost, leafmost // widget at the specified (x, y). LLView* frontmost = root->childFromPoint(pos.mX, pos.mY, true); @@ -395,6 +400,7 @@ static void mouseEvent(const MouseFunc& func, const LLSD& request) << "', but frontmost LLView at (" << pos.mX << ", " << pos.mY << ") is '" << LLView::getPathname(frontmost) << "'")); } +|*==========================================================================*/ // Instantiate a TemporaryDrilldownFunc to route incoming mouse events // to the target LLView*. But put it on the heap since "path" is |