diff options
author | opensim mirror account | 2010-11-16 15:20:05 -0800 |
---|---|---|
committer | opensim mirror account | 2010-11-16 15:20:05 -0800 |
commit | 82786774e407abfd1da653c26ca649d366562afc (patch) | |
tree | cb0a895c053d8f7910bcbc189071188af7a1dd5b /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' of /var/git/opensim/ (diff) | |
parent | Prevent leftover attachments from clogging up the pipes (diff) | |
download | opensim-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.cs | 5 |
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 | } |