Added a setting, LiruMouselookMenu, in case people don't want this feature.

This commit is contained in:
Inusaito Sayori
2013-10-21 16:01:31 -04:00
parent d95e1800e1
commit dde18dfc0f
2 changed files with 12 additions and 1 deletions

View File

@@ -764,7 +764,7 @@ BOOL LLToolCompGun::handleRightMouseDown(S32 x, S32 y, MASK mask)
// be shown.
return FALSE;
*/
if (mask & MASK_ALT) return false;
if (gSavedSettings.getBOOL("LiruMouselookMenu") && mask & MASK_ALT) return false;
// Returning true will suppress the context menu
return TRUE;