diff options
author | Melanie | 2010-11-03 23:20:30 +0100 |
---|---|---|
committer | Melanie | 2010-11-03 23:20:30 +0100 |
commit | c2bd6ccdb8f9a5063450f684c31d75df537ff5e8 (patch) | |
tree | 1b809e5eb60e5e8d7914150b07b7259e1623d9d6 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-c2bd6ccdb8f9a5063450f684c31d75df537ff5e8.zip opensim-SC-c2bd6ccdb8f9a5063450f684c31d75df537ff5e8.tar.gz opensim-SC-c2bd6ccdb8f9a5063450f684c31d75df537ff5e8.tar.bz2 opensim-SC-c2bd6ccdb8f9a5063450f684c31d75df537ff5e8.tar.xz |
Fix playing sound from HUDs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 0 insertions, 8 deletions
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 | |||
3115 | UUID objectID = ParentGroup.RootPart.UUID; | 3115 | UUID objectID = ParentGroup.RootPart.UUID; |
3116 | UUID parentID = GetRootPartUUID(); | 3116 | UUID parentID = GetRootPartUUID(); |
3117 | 3117 | ||
3118 | if (ParentGroup.IsAttachment && ParentGroup.RootPart.Shape.State > 30) | ||
3119 | { | ||
3120 | // Use the avatar as the parent for HUDs, since the prims | ||
3121 | // are not sent to other avatars | ||
3122 | objectID = _ownerID; | ||
3123 | parentID = _ownerID; | ||
3124 | } | ||
3125 | |||
3126 | UUID soundID = UUID.Zero; | 3118 | UUID soundID = UUID.Zero; |
3127 | Vector3 position = AbsolutePosition; // region local | 3119 | Vector3 position = AbsolutePosition; // region local |
3128 | ulong regionHandle = m_parentGroup.Scene.RegionInfo.RegionHandle; | 3120 | ulong regionHandle = m_parentGroup.Scene.RegionInfo.RegionHandle; |