From aa8aee90a35458f1f601ca23e2298b212782d0a3 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 24 Apr 2008 11:32:41 +0000 Subject: * Adds much better support for attachments that you right click on in world. * Your friends can see your attachments now. People who appear in the sim after you've attached something can also see your attachments. * You can position & rotate your attachments now. Positions do *not* save. * You can detach attachments now the regular way. * Attachments do not cross into other regions with you..(this isn't too far off) * Updated ODE to not request terse updates on child prim. --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples/SimpleModule') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index c4409bc..0aa3240 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -61,6 +61,7 @@ namespace OpenSim.Region.Examples.SimpleModule public event AvatarNowWearing OnAvatarNowWearing; public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv; public event ObjectAttach OnObjectAttach; + public event ObjectDeselect OnObjectDetach; public event StartAnim OnStartAnim; public event StopAnim OnStopAnim; public event LinkObjects OnLinkObjects; @@ -380,7 +381,8 @@ namespace OpenSim.Region.Examples.SimpleModule PrimitiveBaseShape primShape, LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, byte[] color, uint parentID, - byte[] particleSystem, LLQuaternion rotation, byte clickAction, byte[] textureanimation) + byte[] particleSystem, LLQuaternion rotation, byte clickAction, byte[] textureanimation, + bool attachment, uint AttachmentPoint) { } public virtual void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, -- cgit v1.1