Can now create some new empty inventory items (like notecards and scripts) from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved).

afrisby
MW 2007-08-14 17:48:25 +00:00
parent 181a90967e
commit 20b50489c0
2 changed files with 1 additions and 3 deletions

View File

@ -79,7 +79,6 @@ namespace OpenSim.Framework.Communications.Caches
public void ItemReceive(LLUUID userID, InventoryItemBase itemInfo) public void ItemReceive(LLUUID userID, InventoryItemBase itemInfo)
{ {
Console.WriteLine("received new inventory item " + itemInfo.inventoryID + " with asset id of " + itemInfo.assetID);
if ((userID == this.UserProfile.UUID) && (this.RootFolder != null)) if ((userID == this.UserProfile.UUID) && (this.RootFolder != null))
{ {
if (itemInfo.parentFolderID == this.RootFolder.folderID) if (itemInfo.parentFolderID == this.RootFolder.folderID)
@ -102,7 +101,6 @@ namespace OpenSim.Framework.Communications.Caches
if ((userID == this.UserProfile.UUID) && (this.RootFolder != null)) if ((userID == this.UserProfile.UUID) && (this.RootFolder != null))
{ {
this.ItemReceive(userID, itemInfo); this.ItemReceive(userID, itemInfo);
Console.WriteLine("now adding inventory item to database");
this.m_parentCommsManager.InventoryServer.AddNewInventoryItem(userID, itemInfo); this.m_parentCommsManager.InventoryServer.AddNewInventoryItem(userID, itemInfo);
} }
} }

View File

@ -609,7 +609,7 @@ namespace OpenSim.Region.Environment.Scenes
client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(m_estateManager.handleEstateOwnerMessage); client.OnEstateOwnerMessage += new EstateOwnerMessageRequest(m_estateManager.handleEstateOwnerMessage);
//client.OnCreateNewInventoryItem += CreateNewInventoryItem; client.OnCreateNewInventoryItem += CreateNewInventoryItem;
client.OnCreateNewInventoryFolder += commsManager.UserProfiles.HandleCreateInventoryFolder; client.OnCreateNewInventoryFolder += commsManager.UserProfiles.HandleCreateInventoryFolder;
client.OnFetchInventoryDescendents += commsManager.UserProfiles.HandleFecthInventoryDescendents; client.OnFetchInventoryDescendents += commsManager.UserProfiles.HandleFecthInventoryDescendents;
client.OnRequestTaskInventory += RequestTaskInventory; client.OnRequestTaskInventory += RequestTaskInventory;