mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Mantis#1616. Applied Melanie's patch. This may or may
not break trunk.
This commit is contained in:
@@ -53,7 +53,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
myScriptEngine.Log.Info("[XEngine] Hooking up to server events");
|
||||
myScriptEngine.World.EventManager.OnObjectGrab += touch_start;
|
||||
myScriptEngine.World.EventManager.OnObjectDeGrab += touch_end;
|
||||
myScriptEngine.World.EventManager.OnRezEvent += on_rez;
|
||||
myScriptEngine.World.EventManager.OnScriptChangedEvent += changed;
|
||||
myScriptEngine.World.EventManager.OnScriptAtTargetEvent += at_target;
|
||||
myScriptEngine.World.EventManager.OnScriptNotAtTargetEvent += not_at_target;
|
||||
@@ -254,14 +253,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
// timer: not handled here
|
||||
// listen: not handled here
|
||||
|
||||
public void on_rez(uint localID, LLUUID itemID, int startParam)
|
||||
{
|
||||
myScriptEngine.PostObjectEvent(localID, new EventParams(
|
||||
"on_rez",new object[] {
|
||||
new LSL_Types.LSLInteger(startParam)},
|
||||
new DetectParams[0]));
|
||||
}
|
||||
|
||||
public void control(uint localID, LLUUID itemID, LLUUID agentID, uint held, uint change)
|
||||
{
|
||||
myScriptEngine.PostObjectEvent(localID, new EventParams(
|
||||
|
||||
Reference in New Issue
Block a user