mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
rename SceneObjectGroup.DeleteGroup() to DeleteGroupFromScene() to improve code readability
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user