Fix broken tests -- the test setup was wrong... sigh.
parent
c61ff917ef
commit
98f59ffed5
|
@ -112,6 +112,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
//moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero);
|
//moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero);
|
||||||
moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2)));
|
moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2)));
|
||||||
moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS;
|
moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS;
|
||||||
|
moveArgs.SessionID = acd.SessionID;
|
||||||
|
|
||||||
originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs);
|
originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs);
|
||||||
|
|
||||||
|
|
|
@ -584,7 +584,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
{
|
{
|
||||||
AgentCircuitData agentData = new AgentCircuitData();
|
AgentCircuitData agentData = new AgentCircuitData();
|
||||||
agentData.AgentID = AgentId;
|
agentData.AgentID = AgentId;
|
||||||
agentData.SessionID = UUID.Zero;
|
agentData.SessionID = SessionId;
|
||||||
agentData.SecureSessionID = UUID.Zero;
|
agentData.SecureSessionID = UUID.Zero;
|
||||||
agentData.circuitcode = m_circuitCode;
|
agentData.circuitcode = m_circuitCode;
|
||||||
agentData.child = false;
|
agentData.child = false;
|
||||||
|
|
Loading…
Reference in New Issue