Remove the event trigger for the attach event from the attachment module.

The script engine already triggers this internally.
avinationmerge
Melanie Thielker 2010-04-19 18:44:21 +02:00
parent d2e4f2d376
commit 80024c023a
1 changed files with 1 additions and 1 deletions

View File

@ -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
{ {