summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorsimon <simon@lindenlab.com>2023-05-13 04:10:28 +0100
committersimon <simon@lindenlab.com>2023-05-13 04:10:28 +0100
commit81f1be67109885f98f649974022aa6d444dd633d (patch)
tree0f594c5fd7985baebc8acd3f52893e1675b57375 /indra/newview/llviewerregion.h
parent4173cae02165e36d96638761f29bd6d00ac24ddc (diff)
sl-19676 - 360 Intereset list mode. Changed mode to be a string for
future expansion instead of a bool toggle
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index 3da0c376d3..6308058f63 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -487,12 +487,13 @@ public:
};
typedef std::set<LLViewerRegion*, CompareRegionByLastUpdate> region_priority_list_t;
- void setInterestList360Mode(bool use_360_mode);
- bool getInterestList360Mode() const { return mUse360Mode; }
+ void setInterestListMode(const std::string & new_mode);
+ const std::string & getInterestListMode() const { return mInterestListMode; }
+ static const std::string IL_MODE_DEFAULT;
+ static const std::string IL_MODE_360;
-
-private:
+ private:
static S32 sNewObjectCreationThrottle;
LLViewerRegionImpl * mImpl;
LLFrameTimer mRegionTimer;
@@ -591,7 +592,7 @@ private:
LLFrameTimer mRenderInfoReportTimer;
// how the server interest list works
- bool mUse360Mode;
+ std::string mInterestListMode;
};
inline BOOL LLViewerRegion::getRegionProtocol(U64 protocol) const