* Tidy up and comments related to last inventory related commit

0.6.0-stable
Justin Clarke Casey 2008-04-26 20:44:27 +00:00
parent accd89b3f1
commit b1632bd222
1 changed files with 5 additions and 5 deletions

View File

@ -482,8 +482,10 @@ namespace OpenSim.Region.Environment.Scenes
public void RequestInventoryFile(IXfer xferManager) public void RequestInventoryFile(IXfer xferManager)
{ {
byte[] fileData = new byte[0]; byte[] fileData = new byte[0];
//InventoryStringBuilder invString = new InventoryStringBuilder(m_folderID, UUID);
// InventoryStringBuilder invString = new InventoryStringBuilder(UUID, LLUUID.Zero); // Confusingly, the folder item has to be the object id, while the 'parent id' has to be zero. This matches
// what appears to happen in the Second Life protocol. If this isn't the case. then various functionality
// isn't available (such as drag from prim inventory to agent inventory)
InventoryStringBuilder invString = new InventoryStringBuilder(m_folderID, LLUUID.Zero); InventoryStringBuilder invString = new InventoryStringBuilder(m_folderID, LLUUID.Zero);
lock (m_taskInventory) lock (m_taskInventory)
@ -492,8 +494,6 @@ namespace OpenSim.Region.Environment.Scenes
{ {
invString.AddItemStart(); invString.AddItemStart();
invString.AddNameValueLine("item_id", item.ItemID.ToString()); invString.AddNameValueLine("item_id", item.ItemID.ToString());
//invString.AddNameValueLine("parent_id", item.ParentID.ToString());
invString.AddNameValueLine("parent_id", m_folderID.ToString()); invString.AddNameValueLine("parent_id", m_folderID.ToString());
invString.AddPermissionsStart(); invString.AddPermissionsStart();