diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 3db7176..802adcd 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -496,6 +496,16 @@ namespace OpenSim | |||
496 | case "reset": | 496 | case "reset": |
497 | Reset(cmdparams); | 497 | Reset(cmdparams); |
498 | break; | 498 | break; |
499 | case "predecode-j2k": | ||
500 | if (cmdparams.Length > 0) | ||
501 | { | ||
502 | m_sceneManager.CacheJ2kDecode(Convert.ToInt32(cmdparams[0])); | ||
503 | } | ||
504 | else | ||
505 | { | ||
506 | m_sceneManager.CacheJ2kDecode(1); | ||
507 | } | ||
508 | break; | ||
499 | 509 | ||
500 | default: | 510 | default: |
501 | string[] tmpPluginArgs = new string[cmdparams.Length + 1]; | 511 | string[] tmpPluginArgs = new string[cmdparams.Length + 1]; |
@@ -688,6 +698,7 @@ namespace OpenSim | |||
688 | m_console.Notice("login-enable - Allows login at sim level"); | 698 | m_console.Notice("login-enable - Allows login at sim level"); |
689 | m_console.Notice("login-disable - Disable login at sim level"); | 699 | m_console.Notice("login-disable - Disable login at sim level"); |
690 | m_console.Notice("login-status - Show the actual login status"); | 700 | m_console.Notice("login-status - Show the actual login status"); |
701 | m_console.Notice("predecode-j2k - Precache assets,decode j2k layerdata, First parameter is threads to use"); | ||
691 | 702 | ||
692 | ShowPluginCommandsHelp(CombineParams(helpArgs, 0), m_console); | 703 | ShowPluginCommandsHelp(CombineParams(helpArgs, 0), m_console); |
693 | 704 | ||