diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index bba746f..aa1c15e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2980,7 +2980,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2980 | /// </summary> | 2980 | /// </summary> |
2981 | public void SendAppearanceToAllOtherAgents() | 2981 | public void SendAppearanceToAllOtherAgents() |
2982 | { | 2982 | { |
2983 | //m_log.DebugFormat("[SCENE PRESENCE] SendAppearanceToAllOtherAgents: {0} ({1})", Name, UUID); | 2983 | // m_log.DebugFormat("[SCENE PRESENCE] SendAppearanceToAllOtherAgents: {0} {1}", Name, UUID); |
2984 | |||
2984 | // only send update from root agents to other clients; children are only "listening posts" | 2985 | // only send update from root agents to other clients; children are only "listening posts" |
2985 | if (IsChildAgent) | 2986 | if (IsChildAgent) |
2986 | { | 2987 | { |
@@ -3008,7 +3009,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3008 | /// </summary> | 3009 | /// </summary> |
3009 | public void SendOtherAgentsAppearanceToMe() | 3010 | public void SendOtherAgentsAppearanceToMe() |
3010 | { | 3011 | { |
3011 | //m_log.DebugFormat("[SCENE PRESENCE] SendOtherAgentsAppearanceToMe: {0} ({1})", Name, UUID); | 3012 | // m_log.DebugFormat("[SCENE PRESENCE] SendOtherAgentsAppearanceToMe: {0} {1}", Name, UUID); |
3012 | 3013 | ||
3013 | int count = 0; | 3014 | int count = 0; |
3014 | m_scene.ForEachRootScenePresence(delegate(ScenePresence scenePresence) | 3015 | m_scene.ForEachRootScenePresence(delegate(ScenePresence scenePresence) |
@@ -3564,7 +3565,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3564 | foreach (ISceneObject so in cAgent.AttachmentObjects) | 3565 | foreach (ISceneObject so in cAgent.AttachmentObjects) |
3565 | { | 3566 | { |
3566 | ((SceneObjectGroup)so).LocalId = 0; | 3567 | ((SceneObjectGroup)so).LocalId = 0; |
3567 | ((SceneObjectGroup)so).RootPart.UpdateFlag = 0; | 3568 | ((SceneObjectGroup)so).RootPart.ClearUpdateSchedule(); |
3568 | so.SetState(cAgent.AttachmentObjectStates[i++], m_scene); | 3569 | so.SetState(cAgent.AttachmentObjectStates[i++], m_scene); |
3569 | m_scene.IncomingCreateObject(so); | 3570 | m_scene.IncomingCreateObject(so); |
3570 | } | 3571 | } |