diff options
Diffstat (limited to 'linden/indra/newview/llhoverview.cpp')
-rw-r--r-- | linden/indra/newview/llhoverview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llhoverview.cpp b/linden/indra/newview/llhoverview.cpp index 6367380..109eece 100644 --- a/linden/indra/newview/llhoverview.cpp +++ b/linden/indra/newview/llhoverview.cpp | |||
@@ -154,12 +154,13 @@ void LLHoverView::updateHover(LLTool* current_tool) | |||
154 | 154 | ||
155 | void LLHoverView::pickCallback(const LLPickInfo& pick_info) | 155 | void LLHoverView::pickCallback(const LLPickInfo& pick_info) |
156 | { | 156 | { |
157 | gHoverView->mLastPickInfo = pick_info; | ||
157 | LLViewerObject* hit_obj = pick_info.getObject(); | 158 | LLViewerObject* hit_obj = pick_info.getObject(); |
158 | 159 | ||
159 | if (hit_obj) | 160 | if (hit_obj) |
160 | { | 161 | { |
161 | gHoverView->setHoverActive(TRUE); | 162 | gHoverView->setHoverActive(TRUE); |
162 | LLSelectMgr::getInstance()->setHoverObject(hit_obj); | 163 | LLSelectMgr::getInstance()->setHoverObject(hit_obj, pick_info.mObjectFace); |
163 | gHoverView->mLastHoverObject = hit_obj; | 164 | gHoverView->mLastHoverObject = hit_obj; |
164 | gHoverView->mHoverOffset = pick_info.mObjectOffset; | 165 | gHoverView->mHoverOffset = pick_info.mObjectOffset; |
165 | } | 166 | } |