Fix Mantis #2281: touch events in non-default states in DNE work again.

0.6.0-stable
Homer Horwitz 2008-10-04 22:57:54 +00:00
parent f52d779550
commit 649cd16fb4
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
int eventFlags = m_ScriptManager.GetStateEventFlags(localID, int eventFlags = m_ScriptManager.GetStateEventFlags(localID,
itemID); itemID);
SceneObjectPart part = m_Scene.GetSceneObjectPart(itemID); SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
if (part != null) if (part != null)
part.SetScriptEvents(itemID, eventFlags); part.SetScriptEvents(itemID, eventFlags);