diff options
author | Teravus Ovares | 2008-02-06 08:03:22 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-06 08:03:22 +0000 |
commit | 9cd9e90e7f174ab0d84af2df6aff7d23b3493552 (patch) | |
tree | ba54a04de7b6f2a64ff0edd6db8d59c4717552c0 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | Revert color console changes until a cross-platform method is found. (diff) | |
download | opensim-SC_OLD-9cd9e90e7f174ab0d84af2df6aff7d23b3493552.zip opensim-SC_OLD-9cd9e90e7f174ab0d84af2df6aff7d23b3493552.tar.gz opensim-SC_OLD-9cd9e90e7f174ab0d84af2df6aff7d23b3493552.tar.bz2 opensim-SC_OLD-9cd9e90e7f174ab0d84af2df6aff7d23b3493552.tar.xz |
* 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)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 4fe7b55..eb5a80c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1702,6 +1702,18 @@ namespace OpenSim.Region.Environment.Scenes | |||
1702 | m_parts.Clear(); | 1702 | m_parts.Clear(); |
1703 | } | 1703 | } |
1704 | 1704 | ||
1705 | public void AddScriptLPS(int count) | ||
1706 | { | ||
1707 | InnerScene d = m_scene.m_innerScene; | ||
1708 | d.AddToScriptLPS(count); | ||
1709 | } | ||
1710 | |||
1711 | public void AddActiveScriptCount(int count) | ||
1712 | { | ||
1713 | InnerScene d = m_scene.m_innerScene; | ||
1714 | d.AddActiveScripts(count); | ||
1715 | } | ||
1716 | |||
1705 | public override void SetText(string text, Vector3 color, double alpha) | 1717 | public override void SetText(string text, Vector3 color, double alpha) |
1706 | { | 1718 | { |
1707 | Color = Color.FromArgb(0xff - (int) (alpha*0xff), | 1719 | Color = Color.FromArgb(0xff - (int) (alpha*0xff), |