Guard against multiple calls to SetOwnerId on one logical ownership change.
parent
bc0fc16f44
commit
34b308d5b6
|
@ -2125,9 +2125,11 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
ForEachPart(delegate(SceneObjectPart part)
|
||||
{
|
||||
part.LastOwnerID = part.OwnerID;
|
||||
part.OwnerID = userId;
|
||||
|
||||
if (OwnerID != userId)
|
||||
{
|
||||
part.LastOwnerID = part.OwnerID;
|
||||
part.OwnerID = userId;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue