diff options
| author | Rider Linden <rider@lindenlab.com> | 2015-12-14 14:14:29 -0800 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2015-12-14 14:14:29 -0800 |
| commit | 3e46058651570f8e3a8cd20b597544bb07fea0a9 (patch) | |
| tree | aa3b6678413b682887155d3a12706d9ced039fae /indra/newview/llviewermedia.cpp | |
| parent | 6582c0238b95f7f1853311cccab3faf5b0da64db (diff) | |
MAINT-5962: Added routine for checking MoaP double click and forwarding those double click events into to the plugin.
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
| -rwxr-xr-x | indra/newview/llviewermedia.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index cc56a9db8d..ab685205cf 100755 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -2426,6 +2426,17 @@ void LLViewerMediaImpl::mouseMove(const LLVector2& texture_coords, MASK mask) } } +void LLViewerMediaImpl::mouseDoubleClick(const LLVector2& texture_coords, MASK mask) +{ + if (mMediaSource) + { + S32 x, y; + scaleTextureCoords(texture_coords, &x, &y); + + mouseDoubleClick(x, y, mask); + } +} + ////////////////////////////////////////////////////////////////////////////////////////// void LLViewerMediaImpl::mouseDoubleClick(S32 x, S32 y, MASK mask, S32 button) { |
