public ImageDownload GetTextureToRender(UUID textureID)
{
lock (syncObject)
{
if (completedDownloads.ContainsKey(textureID))
{
return completedDownloads[textureID];
}
else
{
Logger.Log("Requested texture data for texture that does not exist in dictionary", Helpers.LogLevel.Warning);
return null;
}
}
}