diff options
author | UbitUmarov | 2017-01-05 19:32:57 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-05 19:32:57 +0000 |
commit | 254b26a7d51143d4e08229fa0b0fceabd76a41d0 (patch) | |
tree | 8ed65006e5dc04e69ceba67e31075a9e505e64f6 /OpenSim/ApplicationPlugins | |
parent | Merge branch 'master' into httptests (diff) | |
parent | Massive tab and trailing space cleanup (diff) | |
download | opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.zip opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.gz opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.bz2 opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.xz |
fix merge
Diffstat (limited to '')
6 files changed, 50 insertions, 50 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 89224a6..feb73a9 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
124 | m_log.Debug("[LOAD REGIONS PLUGIN]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + | 124 | m_log.Debug("[LOAD REGIONS PLUGIN]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + |
125 | Thread.CurrentThread.ManagedThreadId.ToString() + | 125 | Thread.CurrentThread.ManagedThreadId.ToString() + |
126 | ")"); | 126 | ")"); |
127 | 127 | ||
128 | bool changed = m_openSim.PopulateRegionEstateInfo(regionsToLoad[i]); | 128 | bool changed = m_openSim.PopulateRegionEstateInfo(regionsToLoad[i]); |
129 | 129 | ||
130 | m_openSim.CreateRegion(regionsToLoad[i], true, out scene); | 130 | m_openSim.CreateRegion(regionsToLoad[i], true, out scene); |
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderFileSystem.cs b/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderFileSystem.cs index 1873a06..976714c 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderFileSystem.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/RegionLoaderFileSystem.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
38 | public class RegionLoaderFileSystem : IRegionLoader | 38 | public class RegionLoaderFileSystem : IRegionLoader |
39 | { | 39 | { |
40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
41 | 41 | ||
42 | private IConfigSource m_configSource; | 42 | private IConfigSource m_configSource; |
43 | 43 | ||
44 | public void SetIniConfigSource(IConfigSource configSource) | 44 | public void SetIniConfigSource(IConfigSource configSource) |
@@ -72,11 +72,11 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
72 | 72 | ||
73 | // Create an empty Regions.ini if there are no existing config files. | 73 | // Create an empty Regions.ini if there are no existing config files. |
74 | if (!allowRegionless && configFiles.Length == 0 && iniFiles.Length == 0) | 74 | if (!allowRegionless && configFiles.Length == 0 && iniFiles.Length == 0) |
75 | { | 75 | { |
76 | new RegionInfo("DEFAULT REGION CONFIG", Path.Combine(regionConfigPath, "Regions.ini"), false, m_configSource); | 76 | new RegionInfo("DEFAULT REGION CONFIG", Path.Combine(regionConfigPath, "Regions.ini"), false, m_configSource); |
77 | iniFiles = Directory.GetFiles(regionConfigPath, "*.ini"); | 77 | iniFiles = Directory.GetFiles(regionConfigPath, "*.ini"); |
78 | } | 78 | } |
79 | 79 | ||
80 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config files from {0}", regionConfigPath); | 80 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config files from {0}", regionConfigPath); |
81 | 81 | ||
82 | List<RegionInfo> regionInfos = new List<RegionInfo>(); | 82 | List<RegionInfo> regionInfos = new List<RegionInfo>(); |
@@ -85,16 +85,16 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
85 | foreach (string file in iniFiles) | 85 | foreach (string file in iniFiles) |
86 | { | 86 | { |
87 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config file {0}", file); | 87 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config file {0}", file); |
88 | 88 | ||
89 | IConfigSource source = new IniConfigSource(file); | 89 | IConfigSource source = new IniConfigSource(file); |
90 | 90 | ||
91 | foreach (IConfig config in source.Configs) | 91 | foreach (IConfig config in source.Configs) |
92 | { | 92 | { |
93 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), file, false, m_configSource, config.Name); | 93 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), file, false, m_configSource, config.Name); |
94 | regionInfos.Add(regionInfo); | 94 | regionInfos.Add(regionInfo); |
95 | 95 | ||
96 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loaded config for region {0}", regionInfo.RegionName); | 96 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loaded config for region {0}", regionInfo.RegionName); |
97 | 97 | ||
98 | i++; | 98 | i++; |
99 | } | 99 | } |
100 | } | 100 | } |
@@ -102,12 +102,12 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
102 | foreach (string file in configFiles) | 102 | foreach (string file in configFiles) |
103 | { | 103 | { |
104 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config file {0}", file); | 104 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loading config file {0}", file); |
105 | 105 | ||
106 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), file, false, m_configSource); | 106 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), file, false, m_configSource); |
107 | regionInfos.Add(regionInfo); | 107 | regionInfos.Add(regionInfo); |
108 | 108 | ||
109 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loaded config for region {0}", regionInfo.RegionName); | 109 | m_log.InfoFormat("[REGION LOADER FILE SYSTEM]: Loaded config for region {0}", regionInfo.RegionName); |
110 | 110 | ||
111 | i++; | 111 | i++; |
112 | } | 112 | } |
113 | 113 | ||
diff --git a/OpenSim/ApplicationPlugins/RegionModulesController/Properties/AssemblyInfo.cs b/OpenSim/ApplicationPlugins/RegionModulesController/Properties/AssemblyInfo.cs index a8e1f95..a45abad 100644 --- a/OpenSim/ApplicationPlugins/RegionModulesController/Properties/AssemblyInfo.cs +++ b/OpenSim/ApplicationPlugins/RegionModulesController/Properties/AssemblyInfo.cs | |||
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; | |||
3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
4 | using Mono.Addins; | 4 | using Mono.Addins; |
5 | 5 | ||
6 | // General Information about an assembly is controlled through the following | 6 | // General Information about an assembly is controlled through the following |
7 | // set of attributes. Change these attribute values to modify the information | 7 | // set of attributes. Change these attribute values to modify the information |
8 | // associated with an assembly. | 8 | // associated with an assembly. |
9 | [assembly: AssemblyTitle("OpenSim.ApplicationPlugins.RegionModulesController")] | 9 | [assembly: AssemblyTitle("OpenSim.ApplicationPlugins.RegionModulesController")] |
@@ -15,8 +15,8 @@ using Mono.Addins; | |||
15 | [assembly: AssemblyTrademark("")] | 15 | [assembly: AssemblyTrademark("")] |
16 | [assembly: AssemblyCulture("")] | 16 | [assembly: AssemblyCulture("")] |
17 | 17 | ||
18 | // Setting ComVisible to false makes the types in this assembly not visible | 18 | // Setting ComVisible to false makes the types in this assembly not visible |
19 | // to COM components. If you need to access a type in this assembly from | 19 | // to COM components. If you need to access a type in this assembly from |
20 | // COM, set the ComVisible attribute to true on that type. | 20 | // COM, set the ComVisible attribute to true on that type. |
21 | [assembly: ComVisible(false)] | 21 | [assembly: ComVisible(false)] |
22 | 22 | ||
@@ -26,7 +26,7 @@ using Mono.Addins; | |||
26 | // Version information for an assembly consists of the following four values: | 26 | // Version information for an assembly consists of the following four values: |
27 | // | 27 | // |
28 | // Major Version | 28 | // Major Version |
29 | // Minor Version | 29 | // Minor Version |
30 | // Build Number | 30 | // Build Number |
31 | // Revision | 31 | // Revision |
32 | // | 32 | // |
diff --git a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs index 8f38a29..2e25c60 100644 --- a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs +++ b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
75 | } | 75 | } |
76 | 76 | ||
77 | #region IApplicationPlugin implementation | 77 | #region IApplicationPlugin implementation |
78 | 78 | ||
79 | public void Initialise (OpenSimBase openSim) | 79 | public void Initialise (OpenSimBase openSim) |
80 | { | 80 | { |
81 | m_openSim = openSim; | 81 | m_openSim = openSim; |
@@ -111,7 +111,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
111 | { | 111 | { |
112 | m_log.InfoFormat( | 112 | m_log.InfoFormat( |
113 | "[REGIONMODULES]: From plugin {0}, (version {1}), loaded {2} modules, {3} shared, {4} non-shared {5} unknown", | 113 | "[REGIONMODULES]: From plugin {0}, (version {1}), loaded {2} modules, {3} shared, {4} non-shared {5} unknown", |
114 | loadedModuleData.Key.Id, | 114 | loadedModuleData.Key.Id, |
115 | loadedModuleData.Key.Version, | 115 | loadedModuleData.Key.Version, |
116 | loadedModuleData.Value[0] + loadedModuleData.Value[1] + loadedModuleData.Value[2], | 116 | loadedModuleData.Value[0] + loadedModuleData.Value[1] + loadedModuleData.Value[2], |
117 | loadedModuleData.Value[0], loadedModuleData.Value[1], loadedModuleData.Value[2]); | 117 | loadedModuleData.Value[0], loadedModuleData.Value[1], loadedModuleData.Value[2]); |
@@ -261,7 +261,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
261 | } | 261 | } |
262 | 262 | ||
263 | #region Region Module interfacesController implementation | 263 | #region Region Module interfacesController implementation |
264 | 264 | ||
265 | /// <summary> | 265 | /// <summary> |
266 | /// Check that the given module is no disabled in the [Modules] section of the config files. | 266 | /// Check that the given module is no disabled in the [Modules] section of the config files. |
267 | /// </summary> | 267 | /// </summary> |
@@ -293,10 +293,10 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
293 | if (className != String.Empty && | 293 | if (className != String.Empty && |
294 | node.Type.ToString() != className) | 294 | node.Type.ToString() != className) |
295 | return false; | 295 | return false; |
296 | } | 296 | } |
297 | 297 | ||
298 | return true; | 298 | return true; |
299 | } | 299 | } |
300 | 300 | ||
301 | // The root of all evil. | 301 | // The root of all evil. |
302 | // This is where we handle adding the modules to scenes when they | 302 | // This is where we handle adding the modules to scenes when they |
diff --git a/OpenSim/ApplicationPlugins/RemoteController/Properties/AssemblyInfo.cs b/OpenSim/ApplicationPlugins/RemoteController/Properties/AssemblyInfo.cs index c841a69..590a6a9 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/Properties/AssemblyInfo.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/Properties/AssemblyInfo.cs | |||
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; | |||
3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
4 | using Mono.Addins; | 4 | using Mono.Addins; |
5 | 5 | ||
6 | // General Information about an assembly is controlled through the following | 6 | // General Information about an assembly is controlled through the following |
7 | // set of attributes. Change these attribute values to modify the information | 7 | // set of attributes. Change these attribute values to modify the information |
8 | // associated with an assembly. | 8 | // associated with an assembly. |
9 | [assembly: AssemblyTitle("OpenSim.ApplicationPlugins.RemoteController")] | 9 | [assembly: AssemblyTitle("OpenSim.ApplicationPlugins.RemoteController")] |
@@ -15,8 +15,8 @@ using Mono.Addins; | |||
15 | [assembly: AssemblyTrademark("")] | 15 | [assembly: AssemblyTrademark("")] |
16 | [assembly: AssemblyCulture("")] | 16 | [assembly: AssemblyCulture("")] |
17 | 17 | ||
18 | // Setting ComVisible to false makes the types in this assembly not visible | 18 | // Setting ComVisible to false makes the types in this assembly not visible |
19 | // to COM components. If you need to access a type in this assembly from | 19 | // to COM components. If you need to access a type in this assembly from |
20 | // COM, set the ComVisible attribute to true on that type. | 20 | // COM, set the ComVisible attribute to true on that type. |
21 | [assembly: ComVisible(false)] | 21 | [assembly: ComVisible(false)] |
22 | 22 | ||
@@ -26,7 +26,7 @@ using Mono.Addins; | |||
26 | // Version information for an assembly consists of the following four values: | 26 | // Version information for an assembly consists of the following four values: |
27 | // | 27 | // |
28 | // Major Version | 28 | // Major Version |
29 | // Minor Version | 29 | // Minor Version |
30 | // Build Number | 30 | // Build Number |
31 | // Revision | 31 | // Revision |
32 | // | 32 | // |
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 1a7c698..a5c9fb4 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -575,7 +575,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
575 | } | 575 | } |
576 | 576 | ||
577 | responseData["success"] = true; | 577 | responseData["success"] = true; |
578 | 578 | ||
579 | m_log.Info("[RADMIN]: Shutdown Administrator Request complete"); | 579 | m_log.Info("[RADMIN]: Shutdown Administrator Request complete"); |
580 | } | 580 | } |
581 | 581 | ||
@@ -747,9 +747,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
747 | { | 747 | { |
748 | // No INI setting recorded. | 748 | // No INI setting recorded. |
749 | } | 749 | } |
750 | 750 | ||
751 | string regionIniPath; | 751 | string regionIniPath; |
752 | 752 | ||
753 | if (requestData.Contains("region_file")) | 753 | if (requestData.Contains("region_file")) |
754 | { | 754 | { |
755 | // Make sure that the file to be created is in a subdirectory of the region storage directory. | 755 | // Make sure that the file to be created is in a subdirectory of the region storage directory. |
@@ -773,7 +773,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
773 | region.RegionName.Replace(" ", "_").Replace(":", "_"). | 773 | region.RegionName.Replace(" ", "_").Replace(":", "_"). |
774 | Replace("/", "_"))); | 774 | Replace("/", "_"))); |
775 | } | 775 | } |
776 | 776 | ||
777 | m_log.DebugFormat("[RADMIN] CreateRegion: persisting region {0} to {1}", | 777 | m_log.DebugFormat("[RADMIN] CreateRegion: persisting region {0} to {1}", |
778 | region.RegionID, regionIniPath); | 778 | region.RegionID, regionIniPath); |
779 | region.SaveRegionToFile("dynamic region", regionIniPath); | 779 | region.SaveRegionToFile("dynamic region", regionIniPath); |
@@ -782,9 +782,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
782 | { | 782 | { |
783 | region.Persistent = false; | 783 | region.Persistent = false; |
784 | } | 784 | } |
785 | 785 | ||
786 | // Set the estate | 786 | // Set the estate |
787 | 787 | ||
788 | // Check for an existing estate | 788 | // Check for an existing estate |
789 | List<int> estateIDs = m_application.EstateDataService.GetEstates((string) requestData["estate_name"]); | 789 | List<int> estateIDs = m_application.EstateDataService.GetEstates((string) requestData["estate_name"]); |
790 | if (estateIDs.Count < 1) | 790 | if (estateIDs.Count < 1) |
@@ -795,12 +795,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
795 | // ok, client wants us to use an explicit UUID | 795 | // ok, client wants us to use an explicit UUID |
796 | // regardless of what the avatar name provided | 796 | // regardless of what the avatar name provided |
797 | userID = new UUID((string) requestData["estate_owner_uuid"]); | 797 | userID = new UUID((string) requestData["estate_owner_uuid"]); |
798 | 798 | ||
799 | // Check that the specified user exists | 799 | // Check that the specified user exists |
800 | Scene currentOrFirst = m_application.SceneManager.CurrentOrFirstScene; | 800 | Scene currentOrFirst = m_application.SceneManager.CurrentOrFirstScene; |
801 | IUserAccountService accountService = currentOrFirst.UserAccountService; | 801 | IUserAccountService accountService = currentOrFirst.UserAccountService; |
802 | UserAccount user = accountService.GetUserAccount(currentOrFirst.RegionInfo.ScopeID, userID); | 802 | UserAccount user = accountService.GetUserAccount(currentOrFirst.RegionInfo.ScopeID, userID); |
803 | 803 | ||
804 | if (user == null) | 804 | if (user == null) |
805 | throw new Exception("Specified user was not found."); | 805 | throw new Exception("Specified user was not found."); |
806 | } | 806 | } |
@@ -809,23 +809,23 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
809 | // We need to look up the UUID for the avatar with the provided name. | 809 | // We need to look up the UUID for the avatar with the provided name. |
810 | string ownerFirst = (string) requestData["estate_owner_first"]; | 810 | string ownerFirst = (string) requestData["estate_owner_first"]; |
811 | string ownerLast = (string) requestData["estate_owner_last"]; | 811 | string ownerLast = (string) requestData["estate_owner_last"]; |
812 | 812 | ||
813 | Scene currentOrFirst = m_application.SceneManager.CurrentOrFirstScene; | 813 | Scene currentOrFirst = m_application.SceneManager.CurrentOrFirstScene; |
814 | IUserAccountService accountService = currentOrFirst.UserAccountService; | 814 | IUserAccountService accountService = currentOrFirst.UserAccountService; |
815 | UserAccount user = accountService.GetUserAccount(currentOrFirst.RegionInfo.ScopeID, | 815 | UserAccount user = accountService.GetUserAccount(currentOrFirst.RegionInfo.ScopeID, |
816 | ownerFirst, ownerLast); | 816 | ownerFirst, ownerLast); |
817 | 817 | ||
818 | // Check that the specified user exists | 818 | // Check that the specified user exists |
819 | if (user == null) | 819 | if (user == null) |
820 | throw new Exception("Specified user was not found."); | 820 | throw new Exception("Specified user was not found."); |
821 | 821 | ||
822 | userID = user.PrincipalID; | 822 | userID = user.PrincipalID; |
823 | } | 823 | } |
824 | else | 824 | else |
825 | { | 825 | { |
826 | throw new Exception("Estate owner details not provided."); | 826 | throw new Exception("Estate owner details not provided."); |
827 | } | 827 | } |
828 | 828 | ||
829 | // Create a new estate with the name provided | 829 | // Create a new estate with the name provided |
830 | region.EstateSettings = m_application.EstateDataService.CreateNewEstate(); | 830 | region.EstateSettings = m_application.EstateDataService.CreateNewEstate(); |
831 | 831 | ||
@@ -852,7 +852,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
852 | throw new Exception("Failed to join estate."); | 852 | throw new Exception("Failed to join estate."); |
853 | } | 853 | } |
854 | } | 854 | } |
855 | 855 | ||
856 | // Create the region and perform any initial initialization | 856 | // Create the region and perform any initial initialization |
857 | 857 | ||
858 | IScene newScene; | 858 | IScene newScene; |
@@ -1159,7 +1159,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1159 | 1159 | ||
1160 | // Set home position | 1160 | // Set home position |
1161 | 1161 | ||
1162 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, | 1162 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, |
1163 | (int)Util.RegionToWorldLoc(regionXLocation), (int)Util.RegionToWorldLoc(regionYLocation)); | 1163 | (int)Util.RegionToWorldLoc(regionXLocation), (int)Util.RegionToWorldLoc(regionYLocation)); |
1164 | if (null == home) | 1164 | if (null == home) |
1165 | { | 1165 | { |
@@ -1389,7 +1389,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1389 | 1389 | ||
1390 | if ((null != regionXLocation) && (null != regionYLocation)) | 1390 | if ((null != regionXLocation) && (null != regionYLocation)) |
1391 | { | 1391 | { |
1392 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, | 1392 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, |
1393 | (int)Util.RegionToWorldLoc((uint)regionXLocation), (int)Util.RegionToWorldLoc((uint)regionYLocation)); | 1393 | (int)Util.RegionToWorldLoc((uint)regionXLocation), (int)Util.RegionToWorldLoc((uint)regionYLocation)); |
1394 | if (null == home) { | 1394 | if (null == home) { |
1395 | m_log.WarnFormat("[RADMIN]: Unable to set home region for updated user account {0} {1}", firstName, lastName); | 1395 | m_log.WarnFormat("[RADMIN]: Unable to set home region for updated user account {0} {1}", firstName, lastName); |
@@ -1416,7 +1416,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1416 | 1416 | ||
1417 | throw e; | 1417 | throw e; |
1418 | } | 1418 | } |
1419 | 1419 | ||
1420 | m_log.Info("[RADMIN]: UpdateUserAccount: request complete"); | 1420 | m_log.Info("[RADMIN]: UpdateUserAccount: request complete"); |
1421 | } | 1421 | } |
1422 | } | 1422 | } |
@@ -1608,7 +1608,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1608 | GetSceneFromRegionParams(requestData, responseData, out scene); | 1608 | GetSceneFromRegionParams(requestData, responseData, out scene); |
1609 | 1609 | ||
1610 | string filename = (string) requestData["filename"]; | 1610 | string filename = (string) requestData["filename"]; |
1611 | 1611 | ||
1612 | bool mergeOar = false; | 1612 | bool mergeOar = false; |
1613 | bool skipAssets = false; | 1613 | bool skipAssets = false; |
1614 | 1614 | ||
@@ -1735,7 +1735,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1735 | scene.EventManager.OnOarFileSaved += RemoteAdminOarSaveCompleted; | 1735 | scene.EventManager.OnOarFileSaved += RemoteAdminOarSaveCompleted; |
1736 | 1736 | ||
1737 | m_log.InfoFormat( | 1737 | m_log.InfoFormat( |
1738 | "[RADMIN]: Submitting save OAR request for {0} to file {1}, request ID {2}", | 1738 | "[RADMIN]: Submitting save OAR request for {0} to file {1}, request ID {2}", |
1739 | scene.Name, filename, requestId); | 1739 | scene.Name, filename, requestId); |
1740 | 1740 | ||
1741 | archiver.ArchiveRegion(filename, requestId, options); | 1741 | archiver.ArchiveRegion(filename, requestId, options); |
@@ -2082,8 +2082,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
2082 | Hashtable responseData = (Hashtable)response.Value; | 2082 | Hashtable responseData = (Hashtable)response.Value; |
2083 | // Hashtable requestData = (Hashtable)request.Params[0]; | 2083 | // Hashtable requestData = (Hashtable)request.Params[0]; |
2084 | 2084 | ||
2085 | m_application.SceneManager.ForEachScene(s => | 2085 | m_application.SceneManager.ForEachScene(s => |
2086 | s.RegionInfo.EstateSettings = m_application.EstateDataService.LoadEstateSettings(s.RegionInfo.RegionID, false) | 2086 | s.RegionInfo.EstateSettings = m_application.EstateDataService.LoadEstateSettings(s.RegionInfo.RegionID, false) |
2087 | ); | 2087 | ); |
2088 | 2088 | ||
2089 | responseData["success"] = true; | 2089 | responseData["success"] = true; |
@@ -2815,7 +2815,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
2815 | if (destinationFolder.Type != (short)FolderType.Clothing) | 2815 | if (destinationFolder.Type != (short)FolderType.Clothing) |
2816 | { | 2816 | { |
2817 | destinationFolder = new InventoryFolderBase(); | 2817 | destinationFolder = new InventoryFolderBase(); |
2818 | 2818 | ||
2819 | destinationFolder.ID = UUID.Random(); | 2819 | destinationFolder.ID = UUID.Random(); |
2820 | destinationFolder.Name = "Clothing"; | 2820 | destinationFolder.Name = "Clothing"; |
2821 | destinationFolder.Owner = destination; | 2821 | destinationFolder.Owner = destination; |
@@ -2951,11 +2951,11 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
2951 | { | 2951 | { |
2952 | sourceFolder = new InventoryFolderBase(); | 2952 | sourceFolder = new InventoryFolderBase(); |
2953 | sourceFolder.ID = UUID.Random(); | 2953 | sourceFolder.ID = UUID.Random(); |
2954 | if (assetType == FolderType.Clothing) | 2954 | if (assetType == FolderType.Clothing) |
2955 | { | 2955 | { |
2956 | sourceFolder.Name = "Clothing"; | 2956 | sourceFolder.Name = "Clothing"; |
2957 | } | 2957 | } |
2958 | else | 2958 | else |
2959 | { | 2959 | { |
2960 | sourceFolder.Name = "Body Parts"; | 2960 | sourceFolder.Name = "Body Parts"; |
2961 | } | 2961 | } |
@@ -3168,7 +3168,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
3168 | 3168 | ||
3169 | // Set home position | 3169 | // Set home position |
3170 | 3170 | ||
3171 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, | 3171 | GridRegion home = scene.GridService.GetRegionByPosition(scopeID, |
3172 | (int)Util.RegionToWorldLoc(regionXLocation), (int)Util.RegionToWorldLoc(regionYLocation)); | 3172 | (int)Util.RegionToWorldLoc(regionXLocation), (int)Util.RegionToWorldLoc(regionYLocation)); |
3173 | if (null == home) { | 3173 | if (null == home) { |
3174 | m_log.WarnFormat("[RADMIN]: Unable to set home region for newly created user account {0} {1}", names[0], names[1]); | 3174 | m_log.WarnFormat("[RADMIN]: Unable to set home region for newly created user account {0} {1}", names[0], names[1]); |