Esempio n. 1
0
void agent_push_backward( EKeystate s )
{
	//in free camera control mode we need to intercept keyboard events for avatar movements
	if (LLFloaterCamera::inFreeCameraMode())
	{
		camera_move_backward(s);
		return;
	}
	agent_push_forwardbackward(s, -1, LLAgent::DOUBLETAP_BACKWARD);
}
Esempio n. 2
0
void agent_push_backward( EKeystate s )
{
	//in free camera control mode we need to intercept keyboard events for avatar movements
	if (LLFloaterCamera::inFreeCameraMode())
	{
		camera_move_backward(s);
	}
	// <FS:Ansariel> Comment out what shouldn't be here at all but got back in LL merge fail
	//else if (!gAgent.backwardGrabbed() && gAgentAvatarp->isSitting())
	//{
	//	gAgentCamera.changeCameraToThirdPerson();
	//}
	// </FS:Ansariel>
	else
	{
		agent_push_forwardbackward(s, -1, LLAgent::DOUBLETAP_BACKWARD);
	}
}
Esempio n. 3
0
void agent_push_backward( EKeystate s )
{
	agent_push_forwardbackward(s, -1, LLAgent::DOUBLETAP_BACKWARD);
}
Esempio n. 4
0
void agent_push_forward( EKeystate s )
{
	agent_push_forwardbackward(s, 1, LLAgent::DOUBLETAP_FORWARD);
}