mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
keep SOG reference to root part since two many things depend on deleted SOGs not being deleted
This commit is contained in:
@@ -721,13 +721,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests
|
||||
acd.Appearance.SetAttachment((int)AttachmentPoint.Chest, attItem.ID, attItem.AssetID);
|
||||
ScenePresence presence = SceneHelpers.AddScenePresence(scene, acd);
|
||||
|
||||
SceneObjectGroup rezzedAtt = presence.GetAttachments()[0];
|
||||
UUID rezzedAttID = presence.GetAttachments()[0].UUID;
|
||||
|
||||
m_numberOfAttachEventsFired = 0;
|
||||
scene.CloseAgent(presence.UUID, false);
|
||||
|
||||
// Check that we can't retrieve this attachment from the scene.
|
||||
Assert.That(scene.GetSceneObjectGroup(rezzedAtt.UUID), Is.Null);
|
||||
Assert.That(scene.GetSceneObjectGroup(rezzedAttID), Is.Null);
|
||||
|
||||
// Check events
|
||||
Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0));
|
||||
|
||||
Reference in New Issue
Block a user