mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Prevent attachments to be persisted in the destination region when the
avatar is not present there.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user