diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3b90c16..ce5b493 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2540,6 +2540,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2540 | if (vialogin) | 2540 | if (vialogin) |
2541 | EventManager.TriggerOnClientLogin(client); | 2541 | EventManager.TriggerOnClientLogin(client); |
2542 | } | 2542 | } |
2543 | |||
2544 | // Send all scene object to the new client | ||
2545 | Util.FireAndForget(delegate | ||
2546 | { | ||
2547 | Entities.ForEach(delegate(EntityBase e) | ||
2548 | { | ||
2549 | if (e != null && e is SceneObjectGroup) | ||
2550 | ((SceneObjectGroup)e).SendFullUpdateToClient(client); | ||
2551 | }); | ||
2552 | }); | ||
2543 | } | 2553 | } |
2544 | 2554 | ||
2545 | /// <summary> | 2555 | /// <summary> |