aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 22:38:48 +0000
committerJustin Clark-Casey (justincc)2013-01-10 22:38:48 +0000
commit701ca1e4b8b3d54e1e93baf54aada3867d403075 (patch)
treefb3e2cfac51f3400e93fe581286716aaa7c1e00f /OpenSim/Region/Application
parentOn baked texture save, replace any HG ID with an ordinary asset ID so the HGA... (diff)
downloadopensim-SC_OLD-701ca1e4b8b3d54e1e93baf54aada3867d403075.zip
opensim-SC_OLD-701ca1e4b8b3d54e1e93baf54aada3867d403075.tar.gz
opensim-SC_OLD-701ca1e4b8b3d54e1e93baf54aada3867d403075.tar.bz2
opensim-SC_OLD-701ca1e4b8b3d54e1e93baf54aada3867d403075.tar.xz
Add "debug scene pbackup true|false" console command. This enables or disable periodic scene backup. For debug purposes.
If false, scene is still saved on shutdown.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index cffbb3b..492ee4a 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -239,13 +239,15 @@ namespace OpenSim
239 m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); 239 m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
240 240
241 m_console.Commands.AddCommand("Debug", false, "debug scene", 241 m_console.Commands.AddCommand("Debug", false, "debug scene",
242 "debug scene active|collisions|physics|scripting|teleport true|false", 242 "debug scene active|collisions|pbackup|physics|scripting|teleport|updates true|false",
243 "Turn on scene debugging.", 243 "Turn on scene debugging options.",
244 "If active is false then main scene update and maintenance loops are suspended.\n" 244 "If active is false then main scene update and maintenance loops are suspended.\n"
245 + "If collisions is false then collisions with other objects are turned off.\n" 245 + "If collisions is false then collisions with other objects are turned off.\n"
246 + "If pbackup is false then periodic scene backup is turned off.\n"
246 + "If physics is false then all physics objects are non-physical.\n" 247 + "If physics is false then all physics objects are non-physical.\n"
247 + "If scripting is false then no scripting operations happen.\n" 248 + "If scripting is false then no scripting operations happen.\n"
248 + "If teleport is true then some extra teleport debug information is logged.", 249 + "If teleport is true then some extra teleport debug information is logged."
250 + "If updates is true then any frame which exceeds double the maximum desired frame time is logged.",
249 Debug); 251 Debug);
250 252
251 m_console.Commands.AddCommand("General", false, "change region", 253 m_console.Commands.AddCommand("General", false, "change region",
@@ -764,7 +766,7 @@ namespace OpenSim
764 else 766 else
765 { 767 {
766 MainConsole.Instance.Output( 768 MainConsole.Instance.Output(
767 "Usage: debug scene active|scripting|collisions|physics|teleport true|false"); 769 "Usage: debug scene active|collisions|pbackup|physics|scripting|teleport|updates true|false");
768 } 770 }
769 771
770 break; 772 break;