From a6d27e09295cd0160d3439fbfa6598f08c431608 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 8 Apr 2008 23:26:31 +0000 Subject: further refactor and rename of InventoryFolderBase properties to reflect what they really are. --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 2 +- OpenSim/Grid/InventoryServer/InventoryManager.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 46fbd3d..f08c1e5 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs @@ -169,7 +169,7 @@ namespace OpenSim.Grid.InventoryServer "Updating in " + folder.ParentID.ToString() + ", folder " + folder.Name); - AddNewInventoryFolder(folder.AgentID, folder); + AddNewInventoryFolder(folder.Owner, folder); return true; } diff --git a/OpenSim/Grid/InventoryServer/InventoryManager.cs b/OpenSim/Grid/InventoryServer/InventoryManager.cs index aad02c3..ed154a8 100644 --- a/OpenSim/Grid/InventoryServer/InventoryManager.cs +++ b/OpenSim/Grid/InventoryServer/InventoryManager.cs @@ -111,12 +111,12 @@ namespace OpenSim.Grid.InventoryServer } // ensure we have valid agent id - if (f.AgentID == LLUUID.Zero) + if (f.Owner == LLUUID.Zero) { if (parent != null) - f.AgentID = parent.AgentID; + f.Owner = parent.Owner; else - f.AgentID = f.ID; + f.Owner = f.ID; modified = true; } -- cgit v1.1