diff options
author | Callum Linden <callum@lindenlab.com> | 2022-08-30 15:23:37 -0700 |
---|---|---|
committer | Callum Linden <callum@lindenlab.com> | 2022-08-30 15:23:37 -0700 |
commit | 2aace1793b2940c86b2aa0d001137d09aec82dae (patch) | |
tree | cae30bd3700fe91c23adce45aeae17531f5f70db /indra/newview/llinspectremoteobject.cpp | |
parent | ef58b9751a514e5e63cd77f9f78e6513bc6403cd (diff) | |
parent | d31a83fb946c49a38376ea3b312b5380d0c8c065 (diff) |
Merge branch 'master' into DRTVWR-568
Diffstat (limited to 'indra/newview/llinspectremoteobject.cpp')
-rw-r--r-- | indra/newview/llinspectremoteobject.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llinspectremoteobject.cpp b/indra/newview/llinspectremoteobject.cpp index 272c8acbd5..77320510a6 100644 --- a/indra/newview/llinspectremoteobject.cpp +++ b/indra/newview/llinspectremoteobject.cpp @@ -111,17 +111,7 @@ void LLInspectRemoteObject::onOpen(const LLSD& data) // update the inspector with the current object state update(); - // Position the inspector relative to the mouse cursor - // Similar to how tooltips are positioned - // See LLToolTipMgr::createToolTip - if (data.has("pos")) - { - LLUI::getInstance()->positionViewNearMouse(this, data["pos"]["x"].asInteger(), data["pos"]["y"].asInteger()); - } - else - { - LLUI::getInstance()->positionViewNearMouse(this); - } + LLInspect::repositionInspector(data); } void LLInspectRemoteObject::onClickMap() |