mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user