aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authoropensim mirror account2010-11-16 15:20:05 -0800
committeropensim mirror account2010-11-16 15:20:05 -0800
commit82786774e407abfd1da653c26ca649d366562afc (patch)
treecb0a895c053d8f7910bcbc189071188af7a1dd5b /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentPrevent leftover attachments from clogging up the pipes (diff)
downloadopensim-SC-82786774e407abfd1da653c26ca649d366562afc.zip
opensim-SC-82786774e407abfd1da653c26ca649d366562afc.tar.gz
opensim-SC-82786774e407abfd1da653c26ca649d366562afc.tar.bz2
opensim-SC-82786774e407abfd1da653c26ca649d366562afc.tar.xz
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index bfc1bd6..db69093 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3759,9 +3759,12 @@ namespace OpenSim.Region.Framework.Scenes
3759 { 3759 {
3760 if (grp.HasGroupChanged) // Resizer scripts? 3760 if (grp.HasGroupChanged) // Resizer scripts?
3761 { 3761 {
3762 grp.DetachToInventoryPrep(); 3762 grp.RootPart.IsAttachment = false;
3763 grp.AbsolutePosition = grp.RootPart.AttachedPos;
3764// grp.DetachToInventoryPrep();
3763 attachmentsModule.UpdateKnownItem(ControllingClient, 3765 attachmentsModule.UpdateKnownItem(ControllingClient,
3764 grp, grp.GetFromItemID(), grp.OwnerID); 3766 grp, grp.GetFromItemID(), grp.OwnerID);
3767 grp.RootPart.IsAttachment = true;
3765 } 3768 }
3766 } 3769 }
3767 } 3770 }