Added a setting, LiruMouselookMenu, in case people don't want this feature.
This commit is contained in:
@@ -786,6 +786,17 @@
|
|||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
</map>
|
</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>
|
<key>LiruNewARCLimit</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
|
|||||||
@@ -764,7 +764,7 @@ BOOL LLToolCompGun::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
|||||||
// be shown.
|
// be shown.
|
||||||
return FALSE;
|
return FALSE;
|
||||||
*/
|
*/
|
||||||
if (mask & MASK_ALT) return false;
|
if (gSavedSettings.getBOOL("LiruMouselookMenu") && mask & MASK_ALT) return false;
|
||||||
|
|
||||||
// Returning true will suppress the context menu
|
// Returning true will suppress the context menu
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user