mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Today's work on Building support/tools. Think I am slowly getting there.
This commit is contained in:
@@ -452,7 +452,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
client.OnChatFromViewer += this.SimChat;
|
||||
client.OnRequestWearables += this.InformClientOfNeighbours;
|
||||
client.OnAddPrim += this.AddNewPrim;
|
||||
//client.OnUpdatePrimPosition += this.UpdatePrimPosition;
|
||||
client.OnUpdatePrimPosition += this.UpdatePrimPosition;
|
||||
client.OnUpdatePrimRotation += this.UpdatePrimRotation;
|
||||
client.OnUpdatePrimGroupRotation += this.UpdatePrimRotation;
|
||||
client.OnUpdatePrimScale += this.UpdatePrimScale;
|
||||
client.OnUpdatePrimShape += this.UpdatePrimShape;
|
||||
client.OnRequestMapBlocks += this.RequestMapBlocks;
|
||||
client.OnTeleportLocationRequest += this.RequestTeleportLocation;
|
||||
client.OnObjectSelect += this.SelectPrim;
|
||||
@@ -596,6 +600,17 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return false;
|
||||
}
|
||||
|
||||
public void SendAllSceneObjectsToClient(IClientAPI client)
|
||||
{
|
||||
foreach (EntityBase ent in Entities.Values)
|
||||
{
|
||||
if (ent is SceneObject)
|
||||
{
|
||||
((SceneObject)ent).SendAllChildPrimsToClient(client);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region RegionCommsHost
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user