mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Add "show script timers" command to show script timers. For debug purposes.
Also, "show sensors" changes to "show script sensors".
This commit is contained in:
@@ -61,19 +61,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
|
||||
public SensorInfo Clone()
|
||||
{
|
||||
SensorInfo s = new SensorInfo();
|
||||
s.localID = localID;
|
||||
s.itemID = itemID;
|
||||
s.interval = interval;
|
||||
s.next = next;
|
||||
s.name = name;
|
||||
s.keyID = keyID;
|
||||
s.type = type;
|
||||
s.range = range;
|
||||
s.arc = arc;
|
||||
s.host = host;
|
||||
|
||||
return s;
|
||||
return (SensorInfo)this.MemberwiseClone();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -701,8 +689,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
|
||||
lock (SenseRepeatListLock)
|
||||
{
|
||||
foreach (SensorInfo si in SenseRepeaters)
|
||||
retList.Add(si.Clone());
|
||||
foreach (SensorInfo i in SenseRepeaters)
|
||||
retList.Add(i.Clone());
|
||||
}
|
||||
|
||||
return retList;
|
||||
|
||||
Reference in New Issue
Block a user