mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Thank you dslake for a patch that:
* fixes mantis #3092: User Server sets agent starting position to passed x/y/x instead of x/y/z
This commit is contained in:
@@ -251,7 +251,7 @@ namespace OpenSim.Grid.UserServer
|
||||
else
|
||||
{
|
||||
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]";
|
||||
|
||||
@@ -210,7 +210,7 @@ namespace OpenSim.Region.Communications.Local
|
||||
else
|
||||
{
|
||||
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]";
|
||||
|
||||
Reference in New Issue
Block a user