diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-10-21 16:07:36 -0700 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-10-21 16:07:36 -0700 |
commit | bbacc4df99ce54732f54373189e604d16b700634 (patch) | |
tree | 26676949903c3be1353358ecd0ddcd0199b9fe50 /indra/newview/llviewerwindow.cpp | |
parent | 7034a4ef9b4d6d35eeffe439dd32c770fa1ba9e4 (diff) | |
parent | eba6d0236fc9b7f4a54189766709948599d4b8a2 (diff) |
Merge of backout (?)
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index c659e58e47..2bda6eddbc 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -815,6 +815,20 @@ BOOL LLViewerWindow::handleMiddleMouseDown(LLWindow *window, LLCoordGL pos, MAS // Always handled as far as the OS is concerned. return TRUE; } + +BOOL LLViewerWindow::handleDrop(LLWindow *window, LLCoordGL pos, MASK mask, void* data) +{ + LLPickInfo pick_info = pickImmediate( pos.mX, pos.mY, TRUE /*BOOL pick_transparent*/ ); + + LLUUID object_id = pick_info.getObjectID(); + S32 object_face = pick_info.mObjectFace; + std::string url = std::string( (char*)data ); + + llinfos << "### Object: picked at " << pos.mX << ", " << pos.mY << " - face = " << object_face << " - URL = " << url << llendl; + + // Always handled as far as the OS is concerned. + return TRUE; +} BOOL LLViewerWindow::handleMiddleMouseUp(LLWindow *window, LLCoordGL pos, MASK mask) { |