aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index fec8aa7..55f4550 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1523,7 +1523,7 @@ namespace OpenSim.Region.Framework.Scenes
1523 public void SaveTerrain() 1523 public void SaveTerrain()
1524 { 1524 {
1525 m_storageManager.DataStore.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); 1525 m_storageManager.DataStore.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID);
1526 } 1526 }
1527 1527
1528 public void StoreWindlightProfile(RegionMeta7WindlightData wl) 1528 public void StoreWindlightProfile(RegionMeta7WindlightData wl)
1529 { 1529 {
@@ -4363,6 +4363,14 @@ namespace OpenSim.Region.Framework.Scenes
4363 } 4363 }
4364 4364
4365 /// <summary> 4365 /// <summary>
4366 /// Cheaply return the number of avatars in a region (without fetching a list object)
4367 /// </summary>
4368 public int GetRootAgentCount()
4369 {
4370 return m_sceneGraph.GetRootAgentCount();
4371 }
4372
4373 /// <summary>
4366 /// Return a list of all ScenePresences in this region. This returns child agents as well as root agents. 4374 /// Return a list of all ScenePresences in this region. This returns child agents as well as root agents.
4367 /// This list is a new object, so it can be iterated over without locking. 4375 /// This list is a new object, so it can be iterated over without locking.
4368 /// </summary> 4376 /// </summary>