mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
refactor: simplify methods in Scene.PacketHandlers.cs by using GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list
This commit is contained in:
@@ -1373,8 +1373,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#endregion
|
||||
|
||||
// Send the parts of this SOG to a single client
|
||||
// Used when the client initially connects and when client sends RequestPrim packet
|
||||
/// <summary>
|
||||
/// Send the parts of this SOG to a single client
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Used when the client initially connects and when client sends RequestPrim packet
|
||||
/// </remarks>
|
||||
/// <param name="remoteClient"></param>
|
||||
public void SendFullUpdateToClient(IClientAPI remoteClient)
|
||||
{
|
||||
RootPart.SendFullUpdate(remoteClient);
|
||||
@@ -1678,10 +1683,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
/// <summary>
|
||||
/// Reset the UUIDs for all the prims that make up this group.
|
||||
///
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is called by methods which want to add a new group to an existing scene, in order
|
||||
/// to ensure that there are no clashes with groups already present.
|
||||
/// </summary>
|
||||
/// </remarks>
|
||||
public void ResetIDs()
|
||||
{
|
||||
lock (m_parts.SyncRoot)
|
||||
|
||||
Reference in New Issue
Block a user