diff options
author | Melanie | 2010-11-16 22:26:07 +0100 |
---|---|---|
committer | Melanie | 2010-11-16 22:26:07 +0100 |
commit | 0049ec16f56eab51c812eef5e2e4396f23d91507 (patch) | |
tree | 11338a2e208606815ae3ad2338a8a8c43ebc1b94 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-0049ec16f56eab51c812eef5e2e4396f23d91507.zip opensim-SC_OLD-0049ec16f56eab51c812eef5e2e4396f23d91507.tar.gz opensim-SC_OLD-0049ec16f56eab51c812eef5e2e4396f23d91507.tar.bz2 opensim-SC_OLD-0049ec16f56eab51c812eef5e2e4396f23d91507.tar.xz |
Prevent leftover attachments from clogging up the pipes
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 b340bda..d2c6a29 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4366,9 +4366,12 @@ if (m_animator.m_jumping) force.Z = m_animator.m_jumpVelocity; // add for ju | |||
4366 | { | 4366 | { |
4367 | if (grp.HasGroupChanged) // Resizer scripts? | 4367 | if (grp.HasGroupChanged) // Resizer scripts? |
4368 | { | 4368 | { |
4369 | grp.DetachToInventoryPrep(); | 4369 | grp.RootPart.IsAttachment = false; |
4370 | grp.AbsolutePosition = grp.RootPart.AttachedPos; | ||
4371 | // grp.DetachToInventoryPrep(); | ||
4370 | attachmentsModule.UpdateKnownItem(ControllingClient, | 4372 | attachmentsModule.UpdateKnownItem(ControllingClient, |
4371 | grp, grp.GetFromItemID(), grp.OwnerID); | 4373 | grp, grp.GetFromItemID(), grp.OwnerID); |
4374 | grp.RootPart.IsAttachment = true; | ||
4372 | } | 4375 | } |
4373 | } | 4376 | } |
4374 | } | 4377 | } |