History

Merge branch 'master' of github.com:highfidelity/hifi into audio/parity

Zach Pomerantz committed 9 years ago

Commit a8f69bb2 parents e7da007 ae81738385 files · +9641 −4012Browse files

Showing the changes to interface/src/Menu.cpp (1 of 385 files). Show all

Unified · Split

interface/src/Menu.cpp+6−0
@@ -405,6 +405,12 @@ Menu::Menu() { · 404 unmodified lines
405405 #endif
406406
407407
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+ }
408414
409415 // Developer > Render > LOD Tools
410416 addActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::LodTools, 0,