diff options
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 486a075..d41325c 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1113,27 +1113,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1113 | Scene.AttachmentsModule.RezAttachments(this); | 1113 | Scene.AttachmentsModule.RezAttachments(this); |
1114 | }); | 1114 | }); |
1115 | } | 1115 | } |
1116 | else | ||
1117 | { | ||
1118 | lock (m_attachments) | ||
1119 | { | ||
1120 | if (HasAttachments()) | ||
1121 | { | ||
1122 | m_log.DebugFormat( | ||
1123 | "[SCENE PRESENCE]: Restarting scripts in attachments for {0} in {1}", Name, Scene.Name); | ||
1124 | |||
1125 | // Resume scripts | ||
1126 | Util.FireAndForget(delegate(object x) { | ||
1127 | foreach (SceneObjectGroup sog in m_attachments) | ||
1128 | { | ||
1129 | sog.ScheduleGroupForFullUpdate(); | ||
1130 | sog.RootPart.ParentGroup.CreateScriptInstances(0, false, m_scene.DefaultScriptEngine, GetStateSource()); | ||
1131 | sog.ResumeScripts(); | ||
1132 | } | ||
1133 | }); | ||
1134 | } | ||
1135 | } | ||
1136 | } | ||
1137 | 1116 | ||
1138 | SendAvatarDataToAllAgents(); | 1117 | SendAvatarDataToAllAgents(); |
1139 | 1118 | ||