summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-02-22 00:02:25 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-02-22 01:32:14 +0200
commit3d1445013337068960b31b4a648bf5df17d01341 (patch)
treec93cd8f87e7a840aad5a5debc258683815f0a652 /indra/newview/llviewerregion.h
parent7704c26354a00d4979eef2456a86e88ebd2580c3 (diff)
triage#100 Fix invalid interest mode
Agent needs these strings before values were initialized so made values a bit more global.
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index be12cf032d..2fb313b60c 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -52,6 +52,11 @@ const U32 MAX_OBJECT_CACHE_ENTRIES = 50000;
// Region handshake flags
const U32 REGION_HANDSHAKE_SUPPORTS_SELF_APPEARANCE = 1U << 2;
+// Interest list mode,
+// in use by agent and region classes so must exist before region classes
+const std::string IL_MODE_DEFAULT = "default";
+const std::string IL_MODE_360 = "360";
+
class LLEventPoll;
class LLVLComposition;
class LLViewerObject;
@@ -505,9 +510,6 @@ public:
void resetInterestList();
- static const std::string IL_MODE_DEFAULT;
- static const std::string IL_MODE_360;
-
private:
static S32 sNewObjectCreationThrottle;
LLViewerRegionImpl * mImpl;