aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
diff options
context:
space:
mode:
authorMW2007-08-14 19:19:09 +0000
committerMW2007-08-14 19:19:09 +0000
commita979808493b20362ab3fe06ac68e5370622ceafa (patch)
treeb3e2b6bd5b6bd30e7331b15630fd50b8765e0d5f /OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
parentkrinkec's updates to ll* interface and functions (diff)
downloadopensim-SC_OLD-a979808493b20362ab3fe06ac68e5370622ceafa.zip
opensim-SC_OLD-a979808493b20362ab3fe06ac68e5370622ceafa.tar.gz
opensim-SC_OLD-a979808493b20362ab3fe06ac68e5370622ceafa.tar.bz2
opensim-SC_OLD-a979808493b20362ab3fe06ac68e5370622ceafa.tar.xz
preliminary support for editing notecards and scripts.
Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/CachedUserInfo.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index 57c79b4..9970d80 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -104,6 +104,14 @@ namespace OpenSim.Framework.Communications.Caches
104 this.m_parentCommsManager.InventoryServer.AddNewInventoryItem(userID, itemInfo); 104 this.m_parentCommsManager.InventoryServer.AddNewInventoryItem(userID, itemInfo);
105 } 105 }
106 } 106 }
107
108 public void updateItem(LLUUID userID, InventoryItemBase itemInfo)
109 {
110 if ((userID == this.UserProfile.UUID) && (this.RootFolder != null))
111 {
112 this.m_parentCommsManager.InventoryServer.AddNewInventoryItem(userID, itemInfo);
113 }
114 }
107 } 115 }
108 116
109 117