diff options
author | BlueWall | 2012-01-13 11:35:44 -0500 |
---|---|---|
committer | BlueWall | 2012-01-13 11:35:44 -0500 |
commit | 57ba9ef5ad05d2479a5bfb188d8a2827e63f0f0f (patch) | |
tree | 9388e3f00b2b92a20142d7025db988bc1ad3e5cf /OpenSim/Region/CoreModules | |
parent | Undo some prior work (diff) | |
download | opensim-SC-57ba9ef5ad05d2479a5bfb188d8a2827e63f0f0f.zip opensim-SC-57ba9ef5ad05d2479a5bfb188d8a2827e63f0f0f.tar.gz opensim-SC-57ba9ef5ad05d2479a5bfb188d8a2827e63f0f0f.tar.bz2 opensim-SC-57ba9ef5ad05d2479a5bfb188d8a2827e63f0f0f.tar.xz |
Update RegionReadyModule
Fix triggering of alerts when rezzing first script to an empty region, add login disable when loading oars.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs index 0707cbe..a945fc2 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs | |||
@@ -98,6 +98,14 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
98 | 98 | ||
99 | OptionSet options = new OptionSet().Add("m|merge", delegate (string v) { mergeOar = v != null; }); | 99 | OptionSet options = new OptionSet().Add("m|merge", delegate (string v) { mergeOar = v != null; }); |
100 | options.Add("s|skip-assets", delegate (string v) { skipAssets = v != null; }); | 100 | options.Add("s|skip-assets", delegate (string v) { skipAssets = v != null; }); |
101 | |||
102 | // Send a message to the region ready module | ||
103 | IRegionReadyModule rready = m_scene.RequestModuleInterface<IRegionReadyModule>(); | ||
104 | |||
105 | if (rready != null) | ||
106 | { | ||
107 | rready.OarLoadingAlert("load"); | ||
108 | } | ||
101 | 109 | ||
102 | List<string> mainParams = options.Parse(cmdparams); | 110 | List<string> mainParams = options.Parse(cmdparams); |
103 | 111 | ||
@@ -125,7 +133,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
125 | Dictionary<string, object> options = new Dictionary<string, object>(); | 133 | Dictionary<string, object> options = new Dictionary<string, object>(); |
126 | 134 | ||
127 | OptionSet ops = new OptionSet(); | 135 | OptionSet ops = new OptionSet(); |
128 | 136 | ||
129 | // legacy argument [obsolete] | 137 | // legacy argument [obsolete] |
130 | ops.Add("p|profile=", delegate(string v) { Console.WriteLine("\n WARNING: -profile option is obsolete and it will not work. Use -home instead.\n"); }); | 138 | ops.Add("p|profile=", delegate(string v) { Console.WriteLine("\n WARNING: -profile option is obsolete and it will not work. Use -home instead.\n"); }); |
131 | // preferred | 139 | // preferred |