diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-02-22 00:02:25 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-02-22 01:32:14 +0200 |
commit | 3d1445013337068960b31b4a648bf5df17d01341 (patch) | |
tree | c93cd8f87e7a840aad5a5debc258683815f0a652 /indra/newview/llagent.cpp | |
parent | 7704c26354a00d4979eef2456a86e88ebd2580c3 (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/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 4d8ba3fff2..fb0d3bd58c 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -405,7 +405,7 @@ LLAgent::LLAgent() : mHttpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID), mTeleportState(TELEPORT_NONE), mRegionp(NULL), - mInterestListMode(LLViewerRegion::IL_MODE_DEFAULT), + mInterestListMode(IL_MODE_DEFAULT), mAgentOriginGlobal(), mPositionGlobal(), @@ -999,9 +999,9 @@ void LLAgent::capabilityReceivedCallback(const LLUUID ®ion_id, LLViewerRegion LLAppViewer::instance()->updateNameLookupUrl(regionp); } - if (gAgent.getInterestListMode() == LLViewerRegion::IL_MODE_360) + if (gAgent.getInterestListMode() == IL_MODE_360) { - gAgent.changeInterestListMode(LLViewerRegion::IL_MODE_360); + gAgent.changeInterestListMode(IL_MODE_360); } } } |