Remove the event trigger for the attach event from the attachment module.
The script engine already triggers this internally.avinationmerge
parent
d2e4f2d376
commit
80024c023a
|
@ -241,7 +241,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
|
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
|
||||||
|
|
||||||
// Do this last so that event listeners have access to all the effects of the attachment
|
// Do this last so that event listeners have access to all the effects of the attachment
|
||||||
m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId);
|
//m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue