diff options
author | Adam Frisby | 2008-04-29 14:10:26 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-29 14:10:26 +0000 |
commit | de2ff8e626fbda32321ab00c55c85221881e8298 (patch) | |
tree | 0fd61dc5d5f99d8c8c791aae4931c4fb08e12ff7 /OpenSim/ApplicationPlugins/LoadRegions | |
parent | * Spring cleaning. (diff) | |
download | opensim-SC_OLD-de2ff8e626fbda32321ab00c55c85221881e8298.zip opensim-SC_OLD-de2ff8e626fbda32321ab00c55c85221881e8298.tar.gz opensim-SC_OLD-de2ff8e626fbda32321ab00c55c85221881e8298.tar.bz2 opensim-SC_OLD-de2ff8e626fbda32321ab00c55c85221881e8298.tar.xz |
* Little more spring cleaning.
Diffstat (limited to 'OpenSim/ApplicationPlugins/LoadRegions')
-rw-r--r-- | OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | 22 | ||||
-rw-r--r-- | OpenSim/ApplicationPlugins/LoadRegions/Properties/AssemblyInfo.cs | 2 |
2 files changed, 15 insertions, 9 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 48e988c..dd3f4b3 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | |||
@@ -43,6 +43,8 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | 45 | ||
46 | #region IApplicationPlugin Members | ||
47 | |||
46 | public void Initialise(OpenSimMain openSim) | 48 | public void Initialise(OpenSimMain openSim) |
47 | { | 49 | { |
48 | m_log.Info("[LOADREGIONS]: Load Regions addin being initialised"); | 50 | m_log.Info("[LOADREGIONS]: Load Regions addin being initialised"); |
@@ -66,14 +68,21 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
66 | 68 | ||
67 | for (int i = 0; i < regionsToLoad.Length; i++) | 69 | for (int i = 0; i < regionsToLoad.Length; i++) |
68 | { | 70 | { |
69 | m_log.Debug("[LOADREGIONS]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + Thread.CurrentThread.ManagedThreadId.ToString() + ")"); | 71 | m_log.Debug("[LOADREGIONS]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + Thread.CurrentThread.ManagedThreadId.ToString() + |
70 | openSim.CreateRegion(regionsToLoad[i], true); | 72 | ")"); |
73 | openSim.CreateRegion(regionsToLoad[i], true); | ||
71 | } | 74 | } |
72 | 75 | ||
73 | openSim.ModuleLoader.PostInitialise(); | 76 | openSim.ModuleLoader.PostInitialise(); |
74 | openSim.ModuleLoader.ClearCache(); | 77 | openSim.ModuleLoader.ClearCache(); |
75 | } | 78 | } |
76 | 79 | ||
80 | public void Close() | ||
81 | { | ||
82 | } | ||
83 | |||
84 | #endregion | ||
85 | |||
77 | public void LoadRegionFromConfig(OpenSimMain openSim, ulong regionhandle) | 86 | public void LoadRegionFromConfig(OpenSimMain openSim, ulong regionhandle) |
78 | { | 87 | { |
79 | m_log.Info("[LOADREGIONS]: Load Regions addin being initialised"); | 88 | m_log.Info("[LOADREGIONS]: Load Regions addin being initialised"); |
@@ -96,14 +105,11 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
96 | { | 105 | { |
97 | if (regionhandle == regionsToLoad[i].RegionHandle) | 106 | if (regionhandle == regionsToLoad[i].RegionHandle) |
98 | { | 107 | { |
99 | m_log.Debug("[LOADREGIONS]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + Thread.CurrentThread.ManagedThreadId.ToString() + ")"); | 108 | m_log.Debug("[LOADREGIONS]: Creating Region: " + regionsToLoad[i].RegionName + " (ThreadID: " + |
109 | Thread.CurrentThread.ManagedThreadId.ToString() + ")"); | ||
100 | openSim.CreateRegion(regionsToLoad[i], true); | 110 | openSim.CreateRegion(regionsToLoad[i], true); |
101 | } | 111 | } |
102 | } | 112 | } |
103 | } | 113 | } |
104 | |||
105 | public void Close() | ||
106 | { | ||
107 | } | ||
108 | } | 114 | } |
109 | } | 115 | } \ No newline at end of file |
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/Properties/AssemblyInfo.cs b/OpenSim/ApplicationPlugins/LoadRegions/Properties/AssemblyInfo.cs index e19895a..818974c 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/Properties/AssemblyInfo.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/Properties/AssemblyInfo.cs | |||
@@ -63,4 +63,4 @@ using System.Runtime.InteropServices; | |||
63 | // [assembly: AssemblyVersion("1.0.*")] | 63 | // [assembly: AssemblyVersion("1.0.*")] |
64 | 64 | ||
65 | [assembly : AssemblyVersion("1.0.0.0")] | 65 | [assembly : AssemblyVersion("1.0.0.0")] |
66 | [assembly : AssemblyFileVersion("1.0.0.0")] | 66 | [assembly : AssemblyFileVersion("1.0.0.0")] \ No newline at end of file |