mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Don't save attachments on saving oar, which stops them coming back as ghost prims
This commit is contained in:
@@ -273,7 +273,12 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
||||
foreach (EntityBase entity in entities)
|
||||
{
|
||||
if (entity is SceneObjectGroup)
|
||||
sceneObjects.Add((SceneObjectGroup)entity);
|
||||
{
|
||||
SceneObjectGroup sceneObject = (SceneObjectGroup)entity;
|
||||
|
||||
if (sceneObject.RootPart != null && !sceneObject.RootPart.IsAttachment)
|
||||
sceneObjects.Add((SceneObjectGroup)entity);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (SceneObjectGroup sceneObject in sceneObjects)
|
||||
|
||||
Reference in New Issue
Block a user