Fix Mantis #2281: touch events in non-default states in DNE work again.
parent
f52d779550
commit
649cd16fb4
|
@ -274,7 +274,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
|||
int eventFlags = m_ScriptManager.GetStateEventFlags(localID,
|
||||
itemID);
|
||||
|
||||
SceneObjectPart part = m_Scene.GetSceneObjectPart(itemID);
|
||||
SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
|
||||
if (part != null)
|
||||
part.SetScriptEvents(itemID, eventFlags);
|
||||
|
||||
|
|
Loading…
Reference in New Issue