From a228b5984e6523456871f2f8e51aa086050acbf2 Mon Sep 17 00:00:00 2001
From: MW
Date: Tue, 14 Aug 2007 13:54:46 +0000
Subject: Start of Inventory service, currently only (partially) functional in
standalone mode and using sqlite). In standalone mode, if you have account
authenticate turned on (setting in opensim.ini) then when you create a new
account, a set of inventory is created for that account and stored in
database (currently only a set of empty folders). Then during login the
database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later
items) from the client inventory window.
---
OpenSim/Framework/Communications/Cache/UserProfileCache.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Framework/Communications/Cache/UserProfileCache.cs')
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
index 2f3691c..2271550 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs
@@ -168,18 +168,18 @@ namespace OpenSim.Framework.Communications.Caches
///
private void RequestInventoryForUser(LLUUID userID, CachedUserInfo userInfo)
{
- // this.m_parent.InventoryServer.RequestInventoryForUser(userID, userInfo.FolderReceive, userInfo.ItemReceive);
+ //this.m_parent.InventoryServer.RequestInventoryForUser(userID, userInfo.FolderReceive, userInfo.ItemReceive);
//for now we manually create the root folder,
// but should be requesting all inventory from inventory server.
- InventoryFolder folderInfo = new InventoryFolder();
+ /* InventoryFolder folderInfo = new InventoryFolder();
folderInfo.agentID = userID;
folderInfo.folderID = userInfo.UserProfile.rootInventoryFolderID;
folderInfo.name = "My Inventory";
folderInfo.parentID = LLUUID.Zero;
folderInfo.type = 8;
folderInfo.version = 1;
- userInfo.FolderReceive(userID, folderInfo);
+ userInfo.FolderReceive(userID, folderInfo);*/
}
///
--
cgit v1.1