aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorMelanie2010-04-19 07:00:40 +0100
committerMelanie2010-04-19 07:00:40 +0100
commit98cb4f74b265dfb8ca3eb8c8d3ad604249398df1 (patch)
tree1339d3707430a20662bdcd3eb4e9ef86abc6a4fd /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentAll scripts are now created suspended and are only unsuspended when the object (diff)
downloadopensim-SC_OLD-98cb4f74b265dfb8ca3eb8c8d3ad604249398df1.zip
opensim-SC_OLD-98cb4f74b265dfb8ca3eb8c8d3ad604249398df1.tar.gz
opensim-SC_OLD-98cb4f74b265dfb8ca3eb8c8d3ad604249398df1.tar.bz2
opensim-SC_OLD-98cb4f74b265dfb8ca3eb8c8d3ad604249398df1.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs5
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;