aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBrian McBee2007-08-18 17:10:54 +0000
committerBrian McBee2007-08-18 17:10:54 +0000
commit6c7f828833839e3645e25f71526af103db9655c0 (patch)
tree0a3e27ecf8647d3f52a8aa7e6d1709035d1f0819
parentllstrenglength (thanks ldvoipeng!) (diff)
downloadopensim-SC-6c7f828833839e3645e25f71526af103db9655c0.zip
opensim-SC-6c7f828833839e3645e25f71526af103db9655c0.tar.gz
opensim-SC-6c7f828833839e3645e25f71526af103db9655c0.tar.bz2
opensim-SC-6c7f828833839e3645e25f71526af103db9655c0.tar.xz
When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
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
950 AgentCircuitData agent = remoteClient.RequestClientInfo(); 950 AgentCircuitData agent = remoteClient.RequestClientInfo();
951 agent.BaseFolder = LLUUID.Zero; 951 agent.BaseFolder = LLUUID.Zero;
952 agent.InventoryFolder = LLUUID.Zero; 952 agent.InventoryFolder = LLUUID.Zero;
953 agent.startpos = new LLVector3(128, 128, 70); 953// agent.startpos = new LLVector3(128, 128, 70);
954 agent.startpos = position;
954 agent.child = true; 955 agent.child = true;
955 commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); 956 commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent);
956 commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); 957 commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false);