diff options
author | Justin Clark-Casey (justincc) | 2013-01-10 00:32:22 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-10 00:32:22 +0000 |
commit | a0000a034f3d193662d56a1c8147771b0d994b23 (patch) | |
tree | 0ce737f2fa35002f43621a2107dfe90050ec3ab7 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | minor: Remove unnecessary commented out code from last commit c28a2f05 and fi... (diff) | |
download | opensim-SC-a0000a034f3d193662d56a1c8147771b0d994b23.zip opensim-SC-a0000a034f3d193662d56a1c8147771b0d994b23.tar.gz opensim-SC-a0000a034f3d193662d56a1c8147771b0d994b23.tar.bz2 opensim-SC-a0000a034f3d193662d56a1c8147771b0d994b23.tar.xz |
Add "show sensors" command to show script sensor information for debug purposes.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 4bbcb7c..8c3bb5b 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -169,6 +169,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
169 | IWorkItemResult m_CurrentCompile = null; | 169 | IWorkItemResult m_CurrentCompile = null; |
170 | private Dictionary<UUID, int> m_CompileDict = new Dictionary<UUID, int>(); | 170 | private Dictionary<UUID, int> m_CompileDict = new Dictionary<UUID, int>(); |
171 | 171 | ||
172 | private ScriptEngineConsoleCommands m_consoleCommands; | ||
173 | |||
172 | public string ScriptEngineName | 174 | public string ScriptEngineName |
173 | { | 175 | { |
174 | get { return "XEngine"; } | 176 | get { return "XEngine"; } |
@@ -318,6 +320,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
318 | OnObjectRemoved += m_XmlRpcRouter.ObjectRemoved; | 320 | OnObjectRemoved += m_XmlRpcRouter.ObjectRemoved; |
319 | } | 321 | } |
320 | 322 | ||
323 | m_consoleCommands = new ScriptEngineConsoleCommands(this); | ||
324 | m_consoleCommands.RegisterCommands(); | ||
325 | |||
321 | MainConsole.Instance.Commands.AddCommand( | 326 | MainConsole.Instance.Commands.AddCommand( |
322 | "Scripts", false, "xengine status", "xengine status", "Show status information", | 327 | "Scripts", false, "xengine status", "xengine status", "Show status information", |
323 | "Show status information on the script engine.", | 328 | "Show status information on the script engine.", |