Update svn properties, minor formatting cleanup.
parent
166690d539
commit
fdec8390c1
|
@ -158,11 +158,14 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
||||||
// Not doing so results in inventory items
|
// Not doing so results in inventory items
|
||||||
// being no copy/no mod for everyone
|
// being no copy/no mod for everyone
|
||||||
TaskInventoryDictionary inv = part.TaskInventory;
|
TaskInventoryDictionary inv = part.TaskInventory;
|
||||||
foreach (KeyValuePair<UUID, TaskInventoryItem> kvp in inv) {
|
foreach (KeyValuePair<UUID, TaskInventoryItem> kvp in inv)
|
||||||
if (!resolveUserUuid(kvp.Value.OwnerID)) {
|
{
|
||||||
|
if (!resolveUserUuid(kvp.Value.OwnerID))
|
||||||
|
{
|
||||||
kvp.Value.OwnerID = masterAvatarId;
|
kvp.Value.OwnerID = masterAvatarId;
|
||||||
}
|
}
|
||||||
if (!resolveUserUuid(kvp.Value.CreatorID)) {
|
if (!resolveUserUuid(kvp.Value.CreatorID))
|
||||||
|
{
|
||||||
kvp.Value.CreatorID = masterAvatarId;
|
kvp.Value.CreatorID = masterAvatarId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue