mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user