diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index c1f005aba..1fce571f3 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -786,6 +786,17 @@ Value 0 + LiruMouselookMenu + + Comment + Controls if holding Alt and right clicking in mouselook will bring up a menu + Persist + 1 + Type + Boolean + Value + 1 + LiruNewARCLimit Comment diff --git a/indra/newview/lltoolcomp.cpp b/indra/newview/lltoolcomp.cpp index f5459d867..9d520eaef 100644 --- a/indra/newview/lltoolcomp.cpp +++ b/indra/newview/lltoolcomp.cpp @@ -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;