Commits

leyla_linden  committed 89e0d30

EXP-629 Clicking on ground while sitting results in avatar walking to last click point when standing up in basic mode

  • Participants
  • Parent commits 8362247

Comments (0)

Files changed (1)

File indra/newview/lltoolpie.cpp

 	if (click_action == CLICK_ACTION_NONE				// not doing 1-click action
 		&& gSavedSettings.getBOOL("ClickToWalk")		// click to walk enabled
 		&& !gAgent.getFlying()							// don't auto-navigate while flying until that works
+		&& !gAgentAvatarp->isSitting()
 		&& !mBlockClickToWalk							// another behavior hasn't cancelled click to walk
 		&& !mPick.mPosGlobal.isExactlyZero()			// valid coordinates for pick
 		&& (mPick.mPickType == LLPickInfo::PICK_LAND	// we clicked on land