aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerparcelmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerparcelmgr.h')
-rw-r--r--linden/indra/newview/llviewerparcelmgr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerparcelmgr.h b/linden/indra/newview/llviewerparcelmgr.h
index bade8ef..a10163a 100644
--- a/linden/indra/newview/llviewerparcelmgr.h
+++ b/linden/indra/newview/llviewerparcelmgr.h
@@ -73,12 +73,13 @@ class LLParcelSelection : public LLRefCount
73{ 73{
74 friend class LLViewerParcelMgr; 74 friend class LLViewerParcelMgr;
75 75
76protected:
77 ~LLParcelSelection();
78
76public: 79public:
77 LLParcelSelection(LLParcel* parcel); 80 LLParcelSelection(LLParcel* parcel);
78 LLParcelSelection(); 81 LLParcelSelection();
79 82
80 ~LLParcelSelection();
81
82 // this can return NULL at any time, as parcel selection 83 // this can return NULL at any time, as parcel selection
83 // might have been invalidated. 84 // might have been invalidated.
84 LLParcel* getParcel() { return mParcel; } 85 LLParcel* getParcel() { return mParcel; }
@@ -119,6 +120,8 @@ public:
119 LLViewerParcelMgr(); 120 LLViewerParcelMgr();
120 ~LLViewerParcelMgr(); 121 ~LLViewerParcelMgr();
121 122
123 static void cleanupGlobals();
124
122 BOOL selectionEmpty() const; 125 BOOL selectionEmpty() const;
123 F32 getSelectionWidth() const { return F32(mEastNorth.mdV[VX] - mWestSouth.mdV[VX]); } 126 F32 getSelectionWidth() const { return F32(mEastNorth.mdV[VX] - mWestSouth.mdV[VX]); }
124 F32 getSelectionHeight() const { return F32(mEastNorth.mdV[VY] - mWestSouth.mdV[VY]); } 127 F32 getSelectionHeight() const { return F32(mEastNorth.mdV[VY] - mWestSouth.mdV[VY]); }