Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2414,7 +2414,11 @@ void Application::cameraMenuChanged() { · 2413 unmodified lines | ||
| 2414 | 2414 | |
| 2415 | 2415 | void Application::clearCacheAndRestart() { |
| 2416 | 2416 | emptyLocalCache(); |
| 2417 | − exit(RESTART_CODE); | |
| 2417 | + | |
| 2418 | + DependencyManager::get<AnimationCache>()->refreshAll(); | |
| 2419 | + DependencyManager::get<GeometryCache>()->refreshAll(); | |
| 2420 | + DependencyManager::get<SoundCache>()->refreshAll(); | |
| 2421 | + DependencyManager::get<TextureCache>()->refreshAll(); | |
| 2418 | 2422 | } |
| 2419 | 2423 | |
| 2420 | 2424 | void Application::rotationModeChanged() { |