Satisfy Issue 699: Let Alt-right clicking in mouselook bring up pie menu
Also lltoolpie.cpp cleanup
This commit is contained in:
@@ -764,6 +764,7 @@ BOOL LLToolCompGun::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||
// be shown.
|
||||
return FALSE;
|
||||
*/
|
||||
if (mask & MASK_ALT) return false;
|
||||
|
||||
// Returning true will suppress the context menu
|
||||
return TRUE;
|
||||
|
||||
@@ -1092,9 +1092,6 @@ BOOL LLToolPie::handleRightClickPick()
|
||||
|
||||
// didn't click in any UI object, so must have clicked in the world
|
||||
LLViewerObject *object = mPick.getObject();
|
||||
LLViewerObject *parent = NULL;
|
||||
if(object)
|
||||
parent = object->getRootEdit();
|
||||
|
||||
// Can't ignore children here.
|
||||
LLToolSelect::handleObjectSelection(mPick, FALSE, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user