aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index a7515f7..03f3cd0 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -60,6 +60,7 @@ namespace OpenSim.Region.Environment.Scenes
60 protected int m_numRootAgents = 0; 60 protected int m_numRootAgents = 0;
61 protected int m_numPrim = 0; 61 protected int m_numPrim = 0;
62 protected int m_numChildAgents = 0; 62 protected int m_numChildAgents = 0;
63 protected int m_physicalPrim = 0;
63 64
64 internal object m_syncRoot = new object(); 65 internal object m_syncRoot = new object();
65 66
@@ -177,7 +178,14 @@ namespace OpenSim.Region.Environment.Scenes
177 m_numPrim++; 178 m_numPrim++;
178 } 179 }
179 } 180 }
180 181 public void AddPhysicalPrim(int number)
182 {
183 m_physicalPrim++;
184 }
185 public void RemovePhysicalPrim(int number)
186 {
187 m_physicalPrim--;
188 }
181 public void RemovePrim(uint localID, LLUUID avatar_deleter) 189 public void RemovePrim(uint localID, LLUUID avatar_deleter)
182 { 190 {
183 foreach (EntityBase obj in Entities.Values) 191 foreach (EntityBase obj in Entities.Values)
@@ -287,6 +295,11 @@ namespace OpenSim.Region.Environment.Scenes
287 return m_numPrim; 295 return m_numPrim;
288 } 296 }
289 297
298 public int GetActiveObjects()
299 {
300 return m_physicalPrim;
301 }
302
290 #endregion 303 #endregion
291 304
292 #region Get Methods 305 #region Get Methods