aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid
diff options
context:
space:
mode:
authordiva2009-02-17 00:35:52 +0000
committerdiva2009-02-17 00:35:52 +0000
commit7cc906213795fbe4878c0cfb8351272e847617e9 (patch)
tree861e1562c10feb985e2e04536d1268f993761ab6 /OpenSim/Grid
parentcleanup (diff)
downloadopensim-SC_OLD-7cc906213795fbe4878c0cfb8351272e847617e9.zip
opensim-SC_OLD-7cc906213795fbe4878c0cfb8351272e847617e9.tar.gz
opensim-SC_OLD-7cc906213795fbe4878c0cfb8351272e847617e9.tar.bz2
opensim-SC_OLD-7cc906213795fbe4878c0cfb8351272e847617e9.tar.xz
Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r--OpenSim/Grid/UserServer/UserLoginService.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs
index d069e1a..4878c03 100644
--- a/OpenSim/Grid/UserServer/UserLoginService.cs
+++ b/OpenSim/Grid/UserServer/UserLoginService.cs
@@ -396,6 +396,16 @@ namespace OpenSim.Grid.UserServer
396 loginParams["regionhandle"] = user.CurrentAgent.Handle.ToString(); 396 loginParams["regionhandle"] = user.CurrentAgent.Handle.ToString();
397 loginParams["caps_path"] = capsPath; 397 loginParams["caps_path"] = capsPath;
398 398
399 // Get appearance
400 AvatarAppearance appearance = m_userManager.GetUserAppearance(user.ID);
401 if (appearance != null)
402 {
403 loginParams["appearance"] = appearance.ToHashTable();
404 m_log.DebugFormat("[LOGIN]: Found appearance for {0}, {1}", user.FirstName, user.SurName);
405 }
406 else
407 m_log.DebugFormat("[LOGIN]: Appearance not for {0}, {1}", user.FirstName, user.SurName);
408
399 ArrayList SendParams = new ArrayList(); 409 ArrayList SendParams = new ArrayList();
400 SendParams.Add(loginParams); 410 SendParams.Add(loginParams);
401 411