[Opensim-dev] Attachments Module question
Justin Clark-Casey
jjustincc at googlemail.com
Mon Oct 3 22:07:23 UTC 2011
This is a probably a bug, though I never got round to changing it since I didn't have time to check that the trigger
didn't cause anything funky to happen if it was moved lower down.
On 03/10/11 22:01, Lake, Dan wrote:
> There are two primary versions of AttachObject in the attachments module. One of them is only called as the Client.OnObjectAttach handler. The other version is called in one place each by AttachmentsModuleTests, Scene and LSL_Api to attach an SOG to a SP.
>
> The client handler version of AttachObject looks up the SP, looks up the SOG, checks CanTakeObject permission, then calls the other version of AttachObject. After that returns, it calls TriggerOnAttach. TriggerOnAttach is only called in the client event handler version of AttachObject but not when AttachObject is called from Scene or LSL_Api. Does anyone know why that is?
>
> ~Dan
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-dev
mailing list