Prevent attachments to be persisted in the destination region when the

avatar is not present there.
This commit is contained in:
Melanie Thielker
2008-10-03 13:45:54 +00:00
parent 5f8e241e81
commit 36097a8198
4 changed files with 17 additions and 5 deletions

View File

@@ -258,7 +258,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
try
{
// I thought that the DeleteGroup() function would handle all of this, but it doesn't. I'm not sure WHAT it handles.
((SceneObjectGroup)scene.Entities[uuid]).DetachFromBackup((SceneObjectGroup)scene.Entities[uuid]);
((SceneObjectGroup)scene.Entities[uuid]).DetachFromBackup();
scene.PhysicsScene.RemovePrim(((SceneObjectGroup)scene.Entities[uuid]).RootPart.PhysActor);
scene.SendKiPrimitive(scene.Entities[uuid].LocalId);
scene.m_innerScene.DeleteSceneObject(uuid, false);