aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHomer Horwitz2008-10-04 22:57:54 +0000
committerHomer Horwitz2008-10-04 22:57:54 +0000
commit649cd16fb47c7240c15279f647be25befb6fa085 (patch)
tree6b92b5d017e52b94626ee4d0034c0f7b11c7793d
parentPlumb packet DirPlacesQuery for search module (diff)
downloadopensim-SC_OLD-649cd16fb47c7240c15279f647be25befb6fa085.zip
opensim-SC_OLD-649cd16fb47c7240c15279f647be25befb6fa085.tar.gz
opensim-SC_OLD-649cd16fb47c7240c15279f647be25befb6fa085.tar.bz2
opensim-SC_OLD-649cd16fb47c7240c15279f647be25befb6fa085.tar.xz
Fix Mantis #2281: touch events in non-default states in DNE work again.
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index 433a1c2..1c1d42f 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -274,7 +274,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
274 int eventFlags = m_ScriptManager.GetStateEventFlags(localID, 274 int eventFlags = m_ScriptManager.GetStateEventFlags(localID,
275 itemID); 275 itemID);
276 276
277 SceneObjectPart part = m_Scene.GetSceneObjectPart(itemID); 277 SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
278 if (part != null) 278 if (part != null)
279 part.SetScriptEvents(itemID, eventFlags); 279 part.SetScriptEvents(itemID, eventFlags);
280 280