Correct the behaviro of group deeding and llGetOwner() within deeded objects

This commit is contained in:
Melanie Thielker
2009-06-21 19:49:11 +00:00
parent 04444d408f
commit bc1dce071a
2 changed files with 15 additions and 3 deletions

View File

@@ -2701,7 +2701,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (SceneObjectGroup sog in groups)
{
if (ownerID != null)
if (ownerID != UUID.Zero)
{
sog.SetOwnerId(ownerID);
sog.SetGroup(groupID, remoteClient);
@@ -2727,6 +2727,12 @@ namespace OpenSim.Region.Framework.Scenes
sog.ApplyNextOwnerPermissions();
}
}
foreach (uint localID in localIDs)
{
SceneObjectPart part = GetSceneObjectPart(localID);
part.GetProperties(remoteClient);
}
}
}
}