From 7f007d8ed056359d1e391cb73d9ff5c3b6852a26 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 3 Oct 2008 12:00:13 +0000 Subject: Mantis #1360 Thank you, idb, for a patch to implement the packet and plumbing for the material settings. --- OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World') diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 9300b92..78aee92 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs @@ -212,6 +212,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC public event GenericCall7 OnObjectDescription; public event GenericCall7 OnObjectName; public event GenericCall7 OnObjectClickAction; + public event GenericCall7 OnObjectMaterial; public event UpdatePrimFlags OnUpdatePrimFlags; public event UpdatePrimTexture OnUpdatePrimTexture; public event UpdateVector OnUpdatePrimGroupPosition; @@ -559,7 +560,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC Vector3 acc, Quaternion rotation, Vector3 rvel, uint flags, UUID objectID, UUID ownerID, string text, byte[] color, uint parentID, - byte[] particleSystem, byte clickAction) + byte[] particleSystem, byte clickAction, byte material) { } public virtual void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, @@ -567,7 +568,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC Vector3 acc, Quaternion rotation, Vector3 rvel, uint flags, UUID objectID, UUID ownerID, string text, byte[] color, uint parentID, - byte[] particleSystem, byte clickAction, byte[] textureanimation, + byte[] particleSystem, byte clickAction, byte material, byte[] textureanimation, bool attachment, uint AttachmentPoint, UUID AssetId, UUID SoundId, double SoundVolume, byte SoundFlags, double SoundRadius) { } -- cgit v1.1