From 4d4402158e41d810e44c86c77eb146d8122198aa Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Sat, 7 Feb 2009 09:45:56 +0000 Subject: 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 --- OpenSim/Grid/UserServer/UserLoginService.cs | 2 +- OpenSim/Region/Communications/Local/LocalLoginService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index f19e564..dfc44ef 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs @@ -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]"; diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index c572b3b..159773b 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs @@ -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]"; -- cgit v1.1