Showing the changes to interface/src/Menu.cpp (1 of 385 files). Show all
Unified · Split
| @@ -405,6 +405,12 @@ Menu::Menu() { · 404 unmodified lines | |||
| 405 | #endif | 405 | #endif |
| 406 | 406 | ||
| 407 | 407 | ||
| 408 | { | ||
| 409 | auto action = addActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderClearKtxCache); | ||
| 410 | connect(action, &QAction::triggered, []{ | ||
| 411 | Setting::Handle<int>(KTXCache::SETTING_VERSION_NAME, KTXCache::INVALID_VERSION).set(KTXCache::INVALID_VERSION); | ||
| 412 | }); | ||
| 413 | } | ||
| 408 | 414 | ||
| 409 | // Developer > Render > LOD Tools | 415 | // Developer > Render > LOD Tools |
| 410 | addActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::LodTools, 0, | 416 | addActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::LodTools, 0, |