diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs index 92afcf3..4343ea1 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | |||
@@ -54,6 +54,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
54 | //myScriptEngine.Log.Verbose("ScriptEngine", "EventManager Hooking up to server events"); | 54 | //myScriptEngine.Log.Verbose("ScriptEngine", "EventManager Hooking up to server events"); |
55 | myScriptEngine.World.EventManager.OnObjectGrab += new OpenSim.Region.Environment.Scenes.EventManager.ObjectGrabDelegate(touch_start); | 55 | myScriptEngine.World.EventManager.OnObjectGrab += new OpenSim.Region.Environment.Scenes.EventManager.ObjectGrabDelegate(touch_start); |
56 | myScriptEngine.World.EventManager.OnRezScript += new OpenSim.Region.Environment.Scenes.EventManager.NewRezScript(OnRezScript); | 56 | myScriptEngine.World.EventManager.OnRezScript += new OpenSim.Region.Environment.Scenes.EventManager.NewRezScript(OnRezScript); |
57 | myScriptEngine.World.EventManager.OnRemoveScript += new OpenSim.Region.Environment.Scenes.EventManager.RemoveScript(OnRemoveScript); | ||
57 | 58 | ||
58 | } | 59 | } |
59 | 60 | ||
@@ -73,6 +74,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
73 | // Path.Combine("ScriptEngines", "Default.lsl"), | 74 | // Path.Combine("ScriptEngines", "Default.lsl"), |
74 | // new OpenSim.Region.Environment.Scenes.Scripting.NullScriptHost() | 75 | // new OpenSim.Region.Environment.Scenes.Scripting.NullScriptHost() |
75 | //); | 76 | //); |
77 | Console.WriteLine("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " + script.Length); | ||
76 | myScriptEngine.myScriptManager.StartScript( | 78 | myScriptEngine.myScriptManager.StartScript( |
77 | localID, | 79 | localID, |
78 | itemID, | 80 | itemID, |
@@ -80,7 +82,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
80 | ); | 82 | ); |
81 | 83 | ||
82 | } | 84 | } |
83 | public void OnDeRezScript(uint localID, LLUUID itemID) | 85 | public void OnRemoveScript(uint localID, LLUUID itemID) |
84 | { | 86 | { |
85 | //myScriptEngine.myScriptManager.StartScript( | 87 | //myScriptEngine.myScriptManager.StartScript( |
86 | // Path.Combine("ScriptEngines", "Default.lsl"), | 88 | // Path.Combine("ScriptEngines", "Default.lsl"), |