diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 3a1962c..3ac34d3 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -467,9 +467,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
467 | { | 467 | { |
468 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); | 468 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); |
469 | if (group != null) | 469 | if (group != null) |
470 | { | 470 | m_parentScene.AttachmentsModule.DetachSingleAttachmentToGround(group.UUID, remoteClient); |
471 | m_parentScene.DetachSingleAttachmentToGround(group.UUID, remoteClient); | ||
472 | } | ||
473 | } | 471 | } |
474 | 472 | ||
475 | protected internal void DetachObject(uint objectLocalID, IClientAPI remoteClient) | 473 | protected internal void DetachObject(uint objectLocalID, IClientAPI remoteClient) |
@@ -1781,6 +1779,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1781 | copy.CreateScriptInstances(0, false, m_parentScene.DefaultScriptEngine, 0); | 1779 | copy.CreateScriptInstances(0, false, m_parentScene.DefaultScriptEngine, 0); |
1782 | copy.HasGroupChanged = true; | 1780 | copy.HasGroupChanged = true; |
1783 | copy.ScheduleGroupForFullUpdate(); | 1781 | copy.ScheduleGroupForFullUpdate(); |
1782 | copy.ResumeScripts(); | ||
1784 | 1783 | ||
1785 | // required for physics to update it's position | 1784 | // required for physics to update it's position |
1786 | copy.AbsolutePosition = copy.AbsolutePosition; | 1785 | copy.AbsolutePosition = copy.AbsolutePosition; |