Added a setting, LiruMouselookMenu, in case people don't want this feature.
This commit is contained in:
@@ -786,6 +786,17 @@
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>LiruMouselookMenu</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Controls if holding Alt and right clicking in mouselook will bring up a menu</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<boolean>1</boolean>
|
||||
</map>
|
||||
<key>LiruNewARCLimit</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user