Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
commit
0806d03780
|
@ -215,6 +215,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
|||
if (im.dialog != (byte)InstantMessageDialog.MessageFromObject &&
|
||||
im.dialog != (byte)InstantMessageDialog.MessageFromAgent &&
|
||||
im.dialog != (byte)InstantMessageDialog.GroupNotice &&
|
||||
im.dialog != (byte)InstantMessageDialog.GroupInvitation &&
|
||||
im.dialog != (byte)InstantMessageDialog.InventoryOffered)
|
||||
{
|
||||
return;
|
||||
|
|
|
@ -1697,14 +1697,14 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
List<SceneObjectGroup> deleteGroups = new List<SceneObjectGroup>();
|
||||
List<SceneObjectGroup> takeGroups = new List<SceneObjectGroup>();
|
||||
|
||||
foreach (uint localID in localIDs)
|
||||
{
|
||||
// Start with true for both, then remove the flags if objects
|
||||
// that we can't derez are part of the selection
|
||||
bool permissionToTake = true;
|
||||
bool permissionToTakeCopy = true;
|
||||
bool permissionToDelete = true;
|
||||
|
||||
foreach (uint localID in localIDs)
|
||||
{
|
||||
// Invalid id
|
||||
SceneObjectPart part = GetSceneObjectPart(localID);
|
||||
if (part == null)
|
||||
|
@ -1803,6 +1803,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
permissionToTake = true;
|
||||
permissionToDelete = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (permissionToTake && (!permissionToDelete))
|
||||
takeGroups.Add(grp);
|
||||
|
@ -1814,7 +1815,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
deleteIDs.Add(grp.LocalId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SendKillObject(deleteIDs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue