diff options
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() |