When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128
parent
fdd5602422
commit
6c7f828833
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue