diff options
author | Justin Clark-Casey (justincc) | 2012-01-10 21:30:12 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-10 21:30:12 +0000 |
commit | ef074deb52de617743ad50ea29e286dd9c66722d (patch) | |
tree | 5d06a9aee6d773764dfd812df1447174dd81b434 /OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs | |
parent | Remove DEBUG option (diff) | |
download | opensim-SC-ef074deb52de617743ad50ea29e286dd9c66722d.zip opensim-SC-ef074deb52de617743ad50ea29e286dd9c66722d.tar.gz opensim-SC-ef074deb52de617743ad50ea29e286dd9c66722d.tar.bz2 opensim-SC-ef074deb52de617743ad50ea29e286dd9c66722d.tar.xz |
Add "show image queue <first-name> <last-name>" region console command
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs index 3e31b7d..db428f1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs | |||
@@ -245,6 +245,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
245 | m_shuttingdown = true; | 245 | m_shuttingdown = true; |
246 | } | 246 | } |
247 | 247 | ||
248 | /// <summary> | ||
249 | /// Returns an array containing all the images in the queue. | ||
250 | /// </summary> | ||
251 | /// <returns></returns> | ||
252 | public J2KImage[] GetImages() | ||
253 | { | ||
254 | lock (m_priorityQueue) | ||
255 | return m_priorityQueue.ToArray(); | ||
256 | } | ||
257 | |||
248 | #region Priority Queue Helpers | 258 | #region Priority Queue Helpers |
249 | 259 | ||
250 | private J2KImage GetHighestPriorityImage() | 260 | private J2KImage GetHighestPriorityImage() |