rename SceneObjectGroup.DeleteGroup() to DeleteGroupFromScene() to improve code readability
parent
16f296f489
commit
39d27fc879
|
@ -105,7 +105,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (permissionToDelete)
|
||||
{
|
||||
foreach (SceneObjectGroup g in objectGroups)
|
||||
g.DeleteGroup(false);
|
||||
g.DeleteGroupFromScene(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2120,7 +2120,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
EventManager.TriggerParcelPrimCountTainted();
|
||||
}
|
||||
|
||||
group.DeleteGroup(silent);
|
||||
group.DeleteGroupFromScene(silent);
|
||||
|
||||
// m_log.DebugFormat("[SCENE]: Exit DeleteSceneObject() for {0} {1}", group.Name, group.UUID);
|
||||
}
|
||||
|
|
|
@ -1235,7 +1235,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
/// must be handled by the caller.
|
||||
///
|
||||
/// <param name="silent">If true then deletion is not broadcast to clients</param>
|
||||
public void DeleteGroup(bool silent)
|
||||
public void DeleteGroupFromScene(bool silent)
|
||||
{
|
||||
List<SceneObjectPart> parts;
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
|
|||
scene.PhysicsScene.RemovePrim(((SceneObjectGroup)scene.Entities[uuid]).RootPart.PhysActor);
|
||||
scene.SendKillObject(scene.Entities[uuid].LocalId);
|
||||
scene.SceneGraph.DeleteSceneObject(uuid, false);
|
||||
((SceneObjectGroup)scene.Entities[uuid]).DeleteGroup(false);
|
||||
((SceneObjectGroup)scene.Entities[uuid]).DeleteGroupFromScene(false);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue