mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
If a user moves back in sight of a child region before the agent has been closed on teleport, don't unnecessarily resend all avatar and object data about that region.
This commit is contained in:
@@ -1740,7 +1740,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(uccp.CircuitCode.Code);
|
||||
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)
|
||||
if (!tp && !client.SceneAgent.SentInitialDataToClient)
|
||||
client.SceneAgent.SendInitialDataToClient();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user