diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs b/OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs index 3a6996e..84c7f29 100644 --- a/OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs +++ b/OpenSim/Region/OptionalModules/ContentManagementSystem/CMModel.cs | |||
@@ -259,9 +259,10 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
259 | // I thought that the DeleteGroup() function would handle all of this, but it doesn't. I'm not sure WHAT it handles. | 259 | // I thought that the DeleteGroup() function would handle all of this, but it doesn't. I'm not sure WHAT it handles. |
260 | ((SceneObjectGroup)scene.Entities[uuid]).DetachFromBackup(); | 260 | ((SceneObjectGroup)scene.Entities[uuid]).DetachFromBackup(); |
261 | scene.PhysicsScene.RemovePrim(((SceneObjectGroup)scene.Entities[uuid]).RootPart.PhysActor); | 261 | scene.PhysicsScene.RemovePrim(((SceneObjectGroup)scene.Entities[uuid]).RootPart.PhysActor); |
262 | scene.SendKillObject(scene.Entities[uuid].LocalId); | 262 | scene.SendKillObject(new List<uint>() { scene.Entities[uuid].LocalId }); |
263 | scene.SceneGraph.DeleteSceneObject(uuid, false); | 263 | scene.SceneGraph.DeleteSceneObject(uuid, false); |
264 | ((SceneObjectGroup)scene.Entities[uuid]).DeleteGroupFromScene(false); | 264 | ((SceneObjectGroup)scene.Entities[uuid]).DeleteGroupFromScene(false); |
265 | scene.SendKillObject(new List<uint>() { ((SceneObjectGroup)scene.Entities[uuid]).LocalId }); | ||
265 | } | 266 | } |
266 | catch(Exception e) | 267 | catch(Exception e) |
267 | { | 268 | { |