* Applied r8271, fixing wrong x/y/z on uri

0.6.2-post-fixes
lbsa71 2009-02-07 12:41:40 +00:00
parent a29d4f1d7d
commit 1dccfacbe0
2 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ namespace OpenSim.Grid.UserServer
else else
{ {
theUser.CurrentAgent.Position = new Vector3(float.Parse(uriMatch.Groups["x"].Value), theUser.CurrentAgent.Position = new Vector3(float.Parse(uriMatch.Groups["x"].Value),
float.Parse(uriMatch.Groups["y"].Value), float.Parse(uriMatch.Groups["x"].Value)); float.Parse(uriMatch.Groups["y"].Value), float.Parse(uriMatch.Groups["z"].Value));
} }
} }
response.LookAt = "[r0,r1,r0]"; response.LookAt = "[r0,r1,r0]";

View File

@ -210,7 +210,7 @@ namespace OpenSim.Region.Communications.Local
else else
{ {
theUser.CurrentAgent.Position = new Vector3(float.Parse(uriMatch.Groups["x"].Value), theUser.CurrentAgent.Position = new Vector3(float.Parse(uriMatch.Groups["x"].Value),
float.Parse(uriMatch.Groups["y"].Value), float.Parse(uriMatch.Groups["x"].Value)); float.Parse(uriMatch.Groups["y"].Value), float.Parse(uriMatch.Groups["z"].Value));
} }
} }
response.LookAt = "[r0,r1,r0]"; response.LookAt = "[r0,r1,r0]";