Showing the changes to interface/src/Application.cpp (1 of 12 files). Show all
Unified · Split
| @@ -58,6 +58,7 @@ · 57 unmodified lines | |||
| 58 | #include <PacketHeaders.h> | 58 | #include <PacketHeaders.h> |
| 59 | #include <ParticlesScriptingInterface.h> | 59 | #include <ParticlesScriptingInterface.h> |
| 60 | #include <PerfStat.h> | 60 | #include <PerfStat.h> |
| 61 | #include <ResourceCache.h> | ||
| 61 | #include <UUID.h> | 62 | #include <UUID.h> |
| 62 | #include <VoxelSceneStats.h> | 63 | #include <VoxelSceneStats.h> |
| 63 | 64 | ||
| @@ -275,6 +276,9 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 211 unmodified lines | |||
| 275 | cache->setCacheDirectory(!cachePath.isEmpty() ? cachePath : "interfaceCache"); | 276 | cache->setCacheDirectory(!cachePath.isEmpty() ? cachePath : "interfaceCache"); |
| 276 | _networkAccessManager->setCache(cache); | 277 | _networkAccessManager->setCache(cache); |
| 277 | 278 | ||
| 279 | ResourceCache::setNetworkAccessManager(_networkAccessManager); | ||
| 280 | ResourceCache::setRequestLimit(3); | ||
| 281 | |||
| 278 | _window->setCentralWidget(_glWidget); | 282 | _window->setCentralWidget(_glWidget); |
| 279 | 283 | ||
| 280 | restoreSizeAndPosition(); | 284 | restoreSizeAndPosition(); |