mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Added forgotten file.
Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
This commit is contained in:
@@ -229,7 +229,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
string script = Util.FieldToString(rezAsset.Data);
|
||||
//Console.WriteLine("rez script "+script);
|
||||
this.EventManager.TriggerRezScript(localID, script);
|
||||
this.EventManager.TriggerRezScript(localID, itemID, script);
|
||||
rezzed = true;
|
||||
}
|
||||
else
|
||||
@@ -240,7 +240,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
string script = Util.FieldToString(rezAsset.Data);
|
||||
// Console.WriteLine("rez script " + script);
|
||||
this.EventManager.TriggerRezScript(localID, script);
|
||||
this.EventManager.TriggerRezScript(localID, itemID, script);
|
||||
rezzed = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user