From c2bd6ccdb8f9a5063450f684c31d75df537ff5e8 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 3 Nov 2010 23:20:30 +0100 Subject: Fix playing sound from HUDs --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 5521326..be3e87f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -3115,14 +3115,6 @@ namespace OpenSim.Region.Framework.Scenes UUID objectID = ParentGroup.RootPart.UUID; UUID parentID = GetRootPartUUID(); - if (ParentGroup.IsAttachment && ParentGroup.RootPart.Shape.State > 30) - { - // Use the avatar as the parent for HUDs, since the prims - // are not sent to other avatars - objectID = _ownerID; - parentID = _ownerID; - } - UUID soundID = UUID.Zero; Vector3 position = AbsolutePosition; // region local ulong regionHandle = m_parentGroup.Scene.RegionInfo.RegionHandle; -- cgit v1.1