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.Inventory.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.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index 0956f74..1e99079 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -93,6 +93,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
93 | part.StartScripts(); | 93 | part.StartScripts(); |
94 | } | 94 | } |
95 | } | 95 | } |
96 | |||
97 | public void StopScripts() | ||
98 | { | ||
99 | lock (m_parts) | ||
100 | { | ||
101 | foreach (SceneObjectPart part in m_parts.Values) | ||
102 | { | ||
103 | part.StopScripts(); | ||
104 | } | ||
105 | } | ||
106 | } | ||
96 | 107 | ||
97 | /// Start a given script. | 108 | /// Start a given script. |
98 | /// </summary> | 109 | /// </summary> |