aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2016-07-12 23:23:47 +0100
committerUbitUmarov2016-07-12 23:23:47 +0100
commitabf423e361fa907f668b6ff7801d706629ce6e81 (patch)
tree2950100d274f5aa30e9017ef72630b5816f2e977 /OpenSim/Region/Framework/Scenes
parent reduce some locks on culling checks (diff)
downloadopensim-SC_OLD-abf423e361fa907f668b6ff7801d706629ce6e81.zip
opensim-SC_OLD-abf423e361fa907f668b6ff7801d706629ce6e81.tar.gz
opensim-SC_OLD-abf423e361fa907f668b6ff7801d706629ce6e81.tar.bz2
opensim-SC_OLD-abf423e361fa907f668b6ff7801d706629ce6e81.tar.xz
be nicer to PIs (actually linux)
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index cf5705c..fac5547 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5409,6 +5409,11 @@ Label_GroupsDone:
5409 m_clientManager.ForEachSync(action); 5409 m_clientManager.ForEachSync(action);
5410 } 5410 }
5411 5411
5412 public int GetNumberOfClients()
5413 {
5414 return m_clientManager.Count;
5415 }
5416
5412 public bool TryGetClient(UUID avatarID, out IClientAPI client) 5417 public bool TryGetClient(UUID avatarID, out IClientAPI client)
5413 { 5418 {
5414 return m_clientManager.TryGetValue(avatarID, out client); 5419 return m_clientManager.TryGetValue(avatarID, out client);