Fix ClickToWalk not allowing mouse-walk (behavior change)

Ansariel and worked together on this to solve http://jira.phoenixviewer.com/browse/FIRE-15189

The behavior change is that when your own avatar is clicked and the mouse is dragged, the camera no longer simply turns on a single axis,
since the behavior for dragging from anywhere else is still the old single-axis pan, this is not a very big deal. I can even see this being more useful!
This commit is contained in:
Inusaito Sayori
2014-12-18 08:35:03 -05:00
parent 78131d2d53
commit 78e7b288b8

View File

@@ -375,7 +375,7 @@ BOOL LLToolPie::handleLeftClickPick()
}
object = (LLViewerObject*)object->getParent();
}
if (object && object == gAgentAvatarp && !gSavedSettings.getBOOL("ClickToWalk"))
if (object && object == gAgentAvatarp /*&& gSavedSettings.getBOOL("ClickToWalk")*/)
{
// we left clicked on avatar, switch to focus mode
mMouseButtonDown = false;