On teleport to a region that already has a child agent established (e.g. a neighbour) don't resend all the initial avatar and object data again.

This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-08-15 21:34:58 +01:00
parent 626536b8cc
commit 91e1aaa5d4
7 changed files with 50 additions and 39 deletions
@@ -1741,7 +1741,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
bool tp = (aCircuit.teleportFlags > 0);
// Let's delay this for TP agents, otherwise the viewer doesn't know where to get resources from
if (!tp)
client.SceneAgent.SendInitialDataToMe();
client.SceneAgent.SendInitialDataToClient();
}
}
else