Fix script data not being reset as it should be

dsg
Melanie 2011-01-24 03:07:01 +00:00
parent cc39d0bf4e
commit b91c99b596
1 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,8 @@ namespace OpenSim.Region.Framework.Scenes
{
item.LastOwnerID = item.OwnerID;
item.OwnerID = ownerId;
item.PermsMask = 0;
item.PermsGranter = UUID.Zero;
}
}
}
@ -1012,6 +1014,8 @@ namespace OpenSim.Region.Framework.Scenes
item.BasePermissions &= item.NextPermissions;
item.EveryonePermissions &= item.NextPermissions;
item.OwnerChanged = true;
item.PermsMask = 0;
item.PermsGranter = UUID.Zero;
}
}
}