mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Added Active Scripts to report the number of scripts running to Sim Stats
* Added Script Performance to report the number of functions run per second to Sim Stats. * Removed a few warnings (@.@ up to 50 now)
This commit is contained in:
@@ -1702,6 +1702,18 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
m_parts.Clear();
|
||||
}
|
||||
|
||||
public void AddScriptLPS(int count)
|
||||
{
|
||||
InnerScene d = m_scene.m_innerScene;
|
||||
d.AddToScriptLPS(count);
|
||||
}
|
||||
|
||||
public void AddActiveScriptCount(int count)
|
||||
{
|
||||
InnerScene d = m_scene.m_innerScene;
|
||||
d.AddActiveScripts(count);
|
||||
}
|
||||
|
||||
public override void SetText(string text, Vector3 color, double alpha)
|
||||
{
|
||||
Color = Color.FromArgb(0xff - (int) (alpha*0xff),
|
||||
|
||||
Reference in New Issue
Block a user