aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index 7bb8b12..d9b3d3f 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -71,6 +71,8 @@ namespace OpenSim.Grid.UserServer
71 protected UserServerCommandModule m_consoleCommandModule; 71 protected UserServerCommandModule m_consoleCommandModule;
72 protected UserServerEventDispatchModule m_eventDispatcher; 72 protected UserServerEventDispatchModule m_eventDispatcher;
73 73
74 protected AvatarCreationModule m_appearanceModule;
75
74 public static void Main(string[] args) 76 public static void Main(string[] args)
75 { 77 {
76 XmlConfigurator.Configure(); 78 XmlConfigurator.Configure();
@@ -180,6 +182,9 @@ namespace OpenSim.Grid.UserServer
180 182
181 protected virtual void StartOtherComponents(IInterServiceInventoryServices inventoryService) 183 protected virtual void StartOtherComponents(IInterServiceInventoryServices inventoryService)
182 { 184 {
185 m_appearanceModule = new AvatarCreationModule(m_userDataBaseService, Cfg, inventoryService);
186 m_appearanceModule.Initialise(this);
187
183 StartupLoginService(inventoryService); 188 StartupLoginService(inventoryService);
184 // 189 //
185 // Get the minimum defaultLevel to access to the grid 190 // Get the minimum defaultLevel to access to the grid
@@ -216,6 +221,8 @@ namespace OpenSim.Grid.UserServer
216 m_userManager.PostInitialise(); 221 m_userManager.PostInitialise();
217 m_avatarAppearanceModule.PostInitialise(); 222 m_avatarAppearanceModule.PostInitialise();
218 m_friendsModule.PostInitialise(); 223 m_friendsModule.PostInitialise();
224
225 m_avatarAppearanceModule.PostInitialise();
219 } 226 }
220 227
221 protected virtual void RegisterHttpHandlers() 228 protected virtual void RegisterHttpHandlers()
@@ -230,6 +237,8 @@ namespace OpenSim.Grid.UserServer
230 m_avatarAppearanceModule.RegisterHandlers(m_httpServer); 237 m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
231 m_messagesService.RegisterHandlers(m_httpServer); 238 m_messagesService.RegisterHandlers(m_httpServer);
232 m_gridInfoService.RegisterHandlers(m_httpServer); 239 m_gridInfoService.RegisterHandlers(m_httpServer);
240
241 m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
233 } 242 }
234 243
235 public override void ShutdownSpecific() 244 public override void ShutdownSpecific()