From f079af87dc3ad1560718ea391ea7f1bb4d30d4b5 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 23 Jul 2008 18:08:16 +0000 Subject: [PATCH] Fix Mantis #1759 Corrects reported agent positions. --- OpenSim/Region/ScriptEngine/Shared/Helpers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs index cd1f2c5d2e..d3222e728a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs @@ -106,7 +106,7 @@ namespace OpenSim.Region.ScriptEngine.Shared Owner = Key; Position = new LSL_Types.Vector3( presence.AbsolutePosition.X, - presence.AbsolutePosition.X, + presence.AbsolutePosition.Y, presence.AbsolutePosition.Z); Rotation = new LSL_Types.Quaternion( presence.Rotation.x, @@ -115,7 +115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared presence.Rotation.w); Velocity = new LSL_Types.Vector3( presence.Velocity.X, - presence.Velocity.X, + presence.Velocity.Y, presence.Velocity.Z); Type = 0x01; // Avatar