[Opensim-dev] Attachments Module question

Lake, Dan dan.lake at intel.com
Mon Oct 3 21:01:20 UTC 2011


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 




More information about the Opensim-dev mailing list