diff options
author | Diva Canto | 2011-02-06 19:39:29 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-06 19:39:29 -0800 |
commit | 98ea78fc77b3dd6da185d71dfab402a0ef8780d6 (patch) | |
tree | f73f170ad6f10e1e8d79aa4572fac11780d6a6cb /OpenSim/Region/Framework | |
parent | Better output for show neighbours (diff) | |
download | opensim-SC-98ea78fc77b3dd6da185d71dfab402a0ef8780d6.zip opensim-SC-98ea78fc77b3dd6da185d71dfab402a0ef8780d6.tar.gz opensim-SC-98ea78fc77b3dd6da185d71dfab402a0ef8780d6.tar.bz2 opensim-SC-98ea78fc77b3dd6da185d71dfab402a0ef8780d6.tar.xz |
New command: show pending-objects
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/ISceneViewer.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneViewer.cs | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs b/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs index 7251d57..2397f22 100644 --- a/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs +++ b/OpenSim/Region/Framework/Interfaces/ISceneViewer.cs | |||
@@ -36,5 +36,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
36 | void Close(); | 36 | void Close(); |
37 | void QueuePartForUpdate(SceneObjectPart part); | 37 | void QueuePartForUpdate(SceneObjectPart part); |
38 | void SendPrimUpdates(); | 38 | void SendPrimUpdates(); |
39 | int GetPendingObjectsCount(); | ||
39 | } | 40 | } |
40 | } | 41 | } |
diff --git a/OpenSim/Region/Framework/Scenes/SceneViewer.cs b/OpenSim/Region/Framework/Scenes/SceneViewer.cs index b44a010..7c067ca 100644 --- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs +++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs | |||
@@ -205,6 +205,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
205 | Reset(); | 205 | Reset(); |
206 | } | 206 | } |
207 | 207 | ||
208 | public int GetPendingObjectsCount() | ||
209 | { | ||
210 | if (m_pendingObjects != null) | ||
211 | return m_pendingObjects.Count; | ||
212 | |||
213 | return 0; | ||
214 | } | ||
215 | |||
208 | public class ScenePartUpdate | 216 | public class ScenePartUpdate |
209 | { | 217 | { |
210 | public UUID FullID; | 218 | public UUID FullID; |