From 47a5d71b7e7e8a354bd5640055cf4efdb881b954 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 11 Nov 2008 19:08:59 +0000 Subject: Prevent pieces from other people's HUDs from displaying at the center of every user's HUD --- OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 4 ++-- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 7b077ec..2792bf8 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs @@ -560,7 +560,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC { } - public virtual void AttachObject(uint localID, Quaternion rotation, byte attachPoint) + public virtual void AttachObject(uint localID, Quaternion rotation, byte attachPoint, UUID ownerID) { } @@ -587,7 +587,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC } public virtual void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, Vector3 position, Quaternion rotation, Vector3 velocity, - Vector3 rotationalvelocity, byte state, UUID AssetId) + Vector3 rotationalvelocity, byte state, UUID AssetId, UUID ownerID, int attachPoint) { } diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 05b23aa..c5f20da 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -3362,7 +3362,8 @@ if (m_shape != null) { (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, RotationOffset, Velocity, - RotationalVelocity, state, FromAssetID); + RotationalVelocity, state, FromAssetID, + OwnerID, (int)AttachmentPoint); } } } -- cgit v1.1