When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128

afrisby
Brian McBee 2007-08-18 17:10:54 +00:00
parent fdd5602422
commit 6c7f828833
1 changed files with 2 additions and 1 deletions

View File

@ -950,7 +950,8 @@ namespace OpenSim.Region.Environment.Scenes
AgentCircuitData agent = remoteClient.RequestClientInfo(); AgentCircuitData agent = remoteClient.RequestClientInfo();
agent.BaseFolder = LLUUID.Zero; agent.BaseFolder = LLUUID.Zero;
agent.InventoryFolder = 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; agent.child = true;
commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent);
commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false);