diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 318357d..edaf1a0 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1651,10 +1651,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1651 | 1651 | ||
1652 | public void SendFullUpdateToClient(IClientAPI remoteClient) | 1652 | public void SendFullUpdateToClient(IClientAPI remoteClient) |
1653 | { | 1653 | { |
1654 | if (IsAttachment) | ||
1655 | m_log.DebugFormat( | ||
1656 | "[SOG]: Sending full update to client {0} for {1} {2}", remoteClient.Name, Name, LocalId); | ||
1657 | |||
1658 | SendPartFullUpdate(remoteClient, RootPart, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, RootPart.UUID)); | 1654 | SendPartFullUpdate(remoteClient, RootPart, m_scene.Permissions.GenerateClientFlags(remoteClient.AgentId, RootPart.UUID)); |
1659 | 1655 | ||
1660 | lockPartsForRead(true); | 1656 | lockPartsForRead(true); |
@@ -1677,9 +1673,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1677 | /// <param name="part"></param> | 1673 | /// <param name="part"></param> |
1678 | internal void SendPartFullUpdate(IClientAPI remoteClient, SceneObjectPart part, uint clientFlags) | 1674 | internal void SendPartFullUpdate(IClientAPI remoteClient, SceneObjectPart part, uint clientFlags) |
1679 | { | 1675 | { |
1680 | if (IsAttachment) | 1676 | // m_log.DebugFormat( |
1681 | m_log.DebugFormat( | 1677 | // "[SOG]: Sending part full update to {0} for {1} {2}", remoteClient.Name, part.Name, part.LocalId); |
1682 | "[SOG]: Sending part full update to {0} for {1} {2}", remoteClient.Name, part.Name, part.LocalId); | ||
1683 | 1678 | ||
1684 | if (m_rootPart.UUID == part.UUID) | 1679 | if (m_rootPart.UUID == part.UUID) |
1685 | { | 1680 | { |
@@ -2191,8 +2186,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2191 | 2186 | ||
2192 | public void ScheduleFullUpdateToAvatar(ScenePresence presence) | 2187 | public void ScheduleFullUpdateToAvatar(ScenePresence presence) |
2193 | { | 2188 | { |
2194 | if (IsAttachment) | 2189 | // m_log.DebugFormat("[SOG]: Scheduling full update for {0} {1} just to avatar {2}", Name, UUID, presence.Name); |
2195 | m_log.DebugFormat("[SOG]: Scheduling full update for {0} {1} just to avatar {2}", Name, UUID, presence.Name); | ||
2196 | 2190 | ||
2197 | RootPart.AddFullUpdateToAvatar(presence); | 2191 | RootPart.AddFullUpdateToAvatar(presence); |
2198 | 2192 | ||
@@ -2228,8 +2222,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2228 | /// </summary> | 2222 | /// </summary> |
2229 | public void ScheduleGroupForFullUpdate() | 2223 | public void ScheduleGroupForFullUpdate() |
2230 | { | 2224 | { |
2231 | if (IsAttachment) | 2225 | // m_log.DebugFormat("[SOG]: Scheduling full update for {0} {1}", Name, UUID); |
2232 | m_log.DebugFormat("[SOG]: Scheduling full update for {0} {1}", Name, UUID); | ||
2233 | 2226 | ||
2234 | checkAtTargets(); | 2227 | checkAtTargets(); |
2235 | RootPart.ScheduleFullUpdate(); | 2228 | RootPart.ScheduleFullUpdate(); |