mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Plumb the path for multiple object deletes
This commit is contained in:
@@ -1569,6 +1569,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ILandObject parcel = m_scene.LandChannel.GetLandObject(
|
||||
m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y);
|
||||
|
||||
List<uint> returns = new List<uint>();
|
||||
|
||||
if (parcel != null && parcel.LandData != null &&
|
||||
parcel.LandData.OtherCleanTime != 0)
|
||||
{
|
||||
@@ -1582,13 +1584,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
DetachFromBackup();
|
||||
m_log.InfoFormat("[SCENE]: Returning object {0} due to parcel auto return", RootPart.UUID.ToString());
|
||||
m_scene.AddReturn(OwnerID, Name, AbsolutePosition, "parcel auto return");
|
||||
m_scene.DeRezObject(null, RootPart.LocalId,
|
||||
RootPart.GroupID, DeRezAction.Return, UUID.Zero);
|
||||
returns.Add(RootPart.LocalId);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
m_scene.DeRezObjects(null, returns, UUID.Zero,
|
||||
DeRezAction.Return, UUID.Zero);
|
||||
}
|
||||
|
||||
if (HasGroupChanged)
|
||||
|
||||
Reference in New Issue
Block a user