diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index ba14784..bded963 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -461,8 +461,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
461 | 461 | ||
462 | if (objatt != null) | 462 | if (objatt != null) |
463 | { | 463 | { |
464 | bool tainted = false; | ||
465 | if (AttachmentPt != 0 && AttachmentPt != objatt.GetAttachmentPoint()) | ||
466 | tainted = true; | ||
467 | |||
464 | AttachObject(remoteClient, objatt.LocalId, AttachmentPt, Quaternion.Identity, objatt.AbsolutePosition); | 468 | AttachObject(remoteClient, objatt.LocalId, AttachmentPt, Quaternion.Identity, objatt.AbsolutePosition); |
465 | objatt.ScheduleGroupForFullUpdate(); | 469 | objatt.ScheduleGroupForFullUpdate(); |
470 | if (tainted) | ||
471 | objatt.HasGroupChanged = true; | ||
466 | } | 472 | } |
467 | return objatt; | 473 | return objatt; |
468 | } | 474 | } |