* Make a step on removing direct access to TaskInventoryDictionary from other packages

This commit is contained in:
Justin Clarke Casey
2008-11-25 17:15:21 +00:00
parent 11f7471d9c
commit 759a667247
4 changed files with 16 additions and 31 deletions

View File

@@ -364,8 +364,8 @@ namespace OpenSim.Region.Environment.Scenes
/// </value>
public TaskInventoryDictionary TaskInventory
{
get { return Inventory.Items; }
set { Inventory.Items = value; }
get { return m_inventory.Items; }
set { m_inventory.Items = value; }
}
public uint ObjectFlags
@@ -1263,7 +1263,7 @@ if (m_shape != null) {
dupe._category = _category;
dupe.m_rezzed = m_rezzed;
dupe.Inventory.Items = (TaskInventoryDictionary)dupe.Inventory.Items.Clone();
dupe.m_inventory.Items = (TaskInventoryDictionary)dupe.m_inventory.Items.Clone();
if (userExposed)
dupe.ResetIDs(linkNum);