aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhoverview.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llhoverview.h')
-rw-r--r--linden/indra/newview/llhoverview.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llhoverview.h b/linden/indra/newview/llhoverview.h
index 0891118..d0bb28d 100644
--- a/linden/indra/newview/llhoverview.h
+++ b/linden/indra/newview/llhoverview.h
@@ -42,6 +42,7 @@
42#include "v3dmath.h" 42#include "v3dmath.h"
43 43
44#include "lldarray.h" 44#include "lldarray.h"
45#include "llviewerwindow.h"
45#include "llviewerobject.h" 46#include "llviewerobject.h"
46 47
47class LLTool; 48class LLTool;
@@ -79,6 +80,7 @@ public:
79 BOOL isHoveringLand() const; 80 BOOL isHoveringLand() const;
80 81
81 LLViewerObject* getLastHoverObject() const; 82 LLViewerObject* getLastHoverObject() const;
83 LLPickInfo getPickInfo() { return mLastPickInfo; }
82 84
83 static void pickCallback(const LLPickInfo& info); 85 static void pickCallback(const LLPickInfo& info);
84 86
@@ -103,6 +105,7 @@ protected:
103 105
104 // If not null and not dead, we're over an object. 106 // If not null and not dead, we're over an object.
105 LLPointer<LLViewerObject> mLastHoverObject; 107 LLPointer<LLViewerObject> mLastHoverObject;
108 LLPickInfo mLastPickInfo;
106 109
107 // If not LLVector3d::ZERO, we're over land. 110 // If not LLVector3d::ZERO, we're over land.
108 LLVector3d mHoverLandGlobal; 111 LLVector3d mHoverLandGlobal;