aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Configuration
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-17 23:33:26 +0100
committerJustin Clark-Casey (justincc)2012-05-17 23:33:26 +0100
commit4d34763f8c90dfe87a8a5930bf05fe36b86d15df (patch)
tree639b53816b54241e75b809c006ce77866acf3a92 /OpenSim/Framework/Configuration
parentminor: improve method doc for TestSameSimulatorSeparatedRegionsCreateAgentFai... (diff)
downloadopensim-SC-4d34763f8c90dfe87a8a5930bf05fe36b86d15df.zip
opensim-SC-4d34763f8c90dfe87a8a5930bf05fe36b86d15df.tar.gz
opensim-SC-4d34763f8c90dfe87a8a5930bf05fe36b86d15df.tar.bz2
opensim-SC-4d34763f8c90dfe87a8a5930bf05fe36b86d15df.tar.xz
Check agent limit against root agent count rather than both root and child agents
From sl docs such as http://community.secondlife.com/t5/English-Knowledge-Base/Managing-Private-Regions/ta-p/700115 agent should apply to avatars only. This makes sense from a user perspective, and also from a code perspective since child agents with no physics or actions take up a fraction of root agent resources. As such, the check is now only performed in Scene.QueryAccess() - cross and teleport check this before allowing an agent to translocate. This also removes an off-by-one error that could occur in certain circumstances on teleport when a new child agent was double counted when a pre-teleport agent update was performed. This does not affect an existing bug where limits or other QueryAccess() checks are not applied to avatars logging directly into a region.
Diffstat (limited to 'OpenSim/Framework/Configuration')
0 files changed, 0 insertions, 0 deletions