Touchup-fix for Issue 1549: Keyboard camera panning only works in 3 directions using WASD keys.

I didn't like the way Advanced menu flickered, so I provided a setting to prevent the toggle that way altogether.

Adds LiruUseAdvancedMenuShortcut
This commit is contained in:
Inusaito Sayori
2014-06-18 09:47:08 -04:00
parent c218789abc
commit a7728b87fc
2 changed files with 13 additions and 1 deletions

View File

@@ -2706,7 +2706,8 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask)
(MASK_CONTROL & mask) &&
('D' == key || 'd' == key))
{
toggle_debug_menus(NULL);
if (gSavedSettings.getBOOL("LiruUseAdvancedMenuShortcut"))
toggle_debug_menus(NULL);
}
// handle shift-escape key (reset camera view)