From 6c7f828833839e3645e25f71526af103db9655c0 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Sat, 18 Aug 2007 17:10:54 +0000 Subject: When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128 --- OpenSim/Region/Environment/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 7b2d0c5..01e58c7 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -950,7 +950,8 @@ namespace OpenSim.Region.Environment.Scenes AgentCircuitData agent = remoteClient.RequestClientInfo(); agent.BaseFolder = LLUUID.Zero; agent.InventoryFolder = LLUUID.Zero; - agent.startpos = new LLVector3(128, 128, 70); +// agent.startpos = new LLVector3(128, 128, 70); + agent.startpos = position; agent.child = true; commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); -- cgit v1.1