Diff of /trunk/DefaultRenderer/DefaultTexture.cs
Parent Directory
|
Revision Log
|
Patch
| revision 90, Thu Dec 11 10:27:30 2008 UTC | revision 91, Thu Dec 11 10:42:33 2008 UTC | |
|---|---|---|
| # | Line 41 | Line 41 |
| 41 | private static int[] threadpoolSlots; | private static int[] threadpoolSlots; |
| 42 | ||
| 43 | // maximum allowed concurrent requests at once | // maximum allowed concurrent requests at once |
| 44 | const int MAX_TEXTURE_REQUESTS = 10; | const int MAX_TEXTURE_REQUESTS = EnvironmentSettings.DownloadTextureThreadNumber; |
| 45 | ||
| 46 | private GridClient gridClient; | private GridClient gridClient; |
| 47 | ||
| # | Line 256 | Line 256 |
| 256 | } | } |
| 257 | else | else |
| 258 | { | { |
| 259 | lock (objFileAccess) | //lock (objFileAccess) |
| 260 | { | //{ |
| 261 | ImageDownload d = gridClient.Assets.Cache.GetCachedImage(textureID); | // ImageDownload d = gridClient.Assets.Cache.GetCachedImage(textureID); |
| 262 | SaveTexture2Image(d); | // SaveTexture2Image(d); |
| 263 | } | //} |
| 264 | } | } |
| 265 | ||
| 266 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

