diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index d13b3ab..838d722 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -452,7 +452,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
452 | client.OnChatFromViewer += this.SimChat; | 452 | client.OnChatFromViewer += this.SimChat; |
453 | client.OnRequestWearables += this.InformClientOfNeighbours; | 453 | client.OnRequestWearables += this.InformClientOfNeighbours; |
454 | client.OnAddPrim += this.AddNewPrim; | 454 | client.OnAddPrim += this.AddNewPrim; |
455 | //client.OnUpdatePrimPosition += this.UpdatePrimPosition; | 455 | client.OnUpdatePrimPosition += this.UpdatePrimPosition; |
456 | client.OnUpdatePrimRotation += this.UpdatePrimRotation; | ||
457 | client.OnUpdatePrimGroupRotation += this.UpdatePrimRotation; | ||
458 | client.OnUpdatePrimScale += this.UpdatePrimScale; | ||
459 | client.OnUpdatePrimShape += this.UpdatePrimShape; | ||
456 | client.OnRequestMapBlocks += this.RequestMapBlocks; | 460 | client.OnRequestMapBlocks += this.RequestMapBlocks; |
457 | client.OnTeleportLocationRequest += this.RequestTeleportLocation; | 461 | client.OnTeleportLocationRequest += this.RequestTeleportLocation; |
458 | client.OnObjectSelect += this.SelectPrim; | 462 | client.OnObjectSelect += this.SelectPrim; |
@@ -596,6 +600,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
596 | return false; | 600 | return false; |
597 | } | 601 | } |
598 | 602 | ||
603 | public void SendAllSceneObjectsToClient(IClientAPI client) | ||
604 | { | ||
605 | foreach (EntityBase ent in Entities.Values) | ||
606 | { | ||
607 | if (ent is SceneObject) | ||
608 | { | ||
609 | ((SceneObject)ent).SendAllChildPrimsToClient(client); | ||
610 | } | ||
611 | } | ||
612 | } | ||
613 | |||
599 | #region RegionCommsHost | 614 | #region RegionCommsHost |
600 | 615 | ||
601 | /// <summary> | 616 | /// <summary> |