mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()
This commit is contained in:
@@ -1670,7 +1670,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// <param name="group"></param>
|
||||
public void DeleteSceneObject(SceneObjectGroup group)
|
||||
{
|
||||
SceneObjectPart rootPart = (group).GetChildPart(group.UUID);
|
||||
SceneObjectPart rootPart = group.GetChildPart(group.UUID);
|
||||
|
||||
if (rootPart.PhysActor != null)
|
||||
{
|
||||
@@ -1685,7 +1685,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
|
||||
group.DeleteGroup();
|
||||
group.DeleteParts();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user