aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
diff options
context:
space:
mode:
authorMW2007-12-02 20:43:21 +0000
committerMW2007-12-02 20:43:21 +0000
commitac77c32453fdeffc03a5abbb6cbb037dfc1e7c0d (patch)
tree5f67d9619efa7fb3a346125dc01971ff1e766d9b /OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
parentAdded some error handling (and console output) to BaseHttpServer. (diff)
downloadopensim-SC_OLD-ac77c32453fdeffc03a5abbb6cbb037dfc1e7c0d.zip
opensim-SC_OLD-ac77c32453fdeffc03a5abbb6cbb037dfc1e7c0d.tar.gz
opensim-SC_OLD-ac77c32453fdeffc03a5abbb6cbb037dfc1e7c0d.tar.bz2
opensim-SC_OLD-ac77c32453fdeffc03a5abbb6cbb037dfc1e7c0d.tar.xz
Attempt to fix mantis issue #82, taking prims into inventory and then rezzing them in another region.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
index b24d763..fb4c3a6 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
@@ -72,6 +72,15 @@ namespace OpenSim.Framework.Communications.Cache
72 } 72 }
73 } 73 }
74 74
75 public void UpdateUserInventory(LLUUID userID)
76 {
77 CachedUserInfo userInfo = GetUserDetails(userID);
78 if (userInfo != null)
79 {
80 RequestInventoryForUser(userID, userInfo);
81 }
82 }
83
75 public CachedUserInfo GetUserDetails(LLUUID userID) 84 public CachedUserInfo GetUserDetails(LLUUID userID)
76 { 85 {
77 if (m_userProfiles.ContainsKey(userID)) 86 if (m_userProfiles.ContainsKey(userID))