diff options
Merge branch 'master' into careminster-presence-refactor
Integrate the next large patch.
Don't use this version, it has a ghost avatar issue. Next push
will fix it.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 7c95658..6f7256e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -586,13 +586,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
586 | so.RootPart.AttachedAvatar = avatar.UUID; | 586 | so.RootPart.AttachedAvatar = avatar.UUID; |
587 | 587 | ||
588 | //Anakin Lohner bug #3839 | 588 | //Anakin Lohner bug #3839 |
589 | lock (so.Children) | 589 | SceneObjectPart[] parts = so.Parts; |
590 | { | 590 | for (int i = 0; i < parts.Length; i++) |
591 | foreach (SceneObjectPart p in so.Children.Values) | 591 | parts[i].AttachedAvatar = avatar.UUID; |
592 | { | ||
593 | p.AttachedAvatar = avatar.UUID; | ||
594 | } | ||
595 | } | ||
596 | 592 | ||
597 | if (so.RootPart.PhysActor != null) | 593 | if (so.RootPart.PhysActor != null) |
598 | { | 594 | { |