summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2013-11-11 13:21:12 -0500
committerJonathan Yap <none@none>2013-11-11 13:21:12 -0500
commit56b1b35a18c21f6dad4147df35ba4594f31b67e3 (patch)
tree76782fe8d40225bf9a31a631f6471c18091b4220 /indra/newview/llviewerregion.cpp
parente988fffbca2199156ed656a091409394246f929d (diff)
STORM-68 Send default permissions to simulator just once after logging in
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rw-r--r--indra/newview/llviewerregion.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index 7b5721cb39..68db98580f 100644
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -1487,7 +1487,10 @@ void LLViewerRegion::unpackRegionHandshake()
msg->addU32("Flags", 0x0 );
msg->sendReliable(host);
- LLFloaterPermsDefault::updateCap();
+ // Supplying false in this call means only send the default permissions to the simulator if
+ // it has never been sent. Once this data is sent the simulator will pass this data to new
+ // simulators as the agent moves around.
+ LLFloaterPermsDefault::updateCap(false);
}
void LLViewerRegionImpl::buildCapabilityNames(LLSD& capabilityNames)