diff options
author | UbitUmarov | 2015-12-10 17:04:39 +0000 |
---|---|---|
committer | UbitUmarov | 2015-12-10 17:04:39 +0000 |
commit | 6de7da467a508a28cd11c13ed1ad2e8400520b21 (patch) | |
tree | 7977fb85e6cb76f50666a9bb9c133a3655c3e5f6 /OpenSim/Region/CoreModules/Avatar/Attachments/Tests | |
parent | remove some SOG references on delete to help GC (diff) | |
download | opensim-SC_OLD-6de7da467a508a28cd11c13ed1ad2e8400520b21.zip opensim-SC_OLD-6de7da467a508a28cd11c13ed1ad2e8400520b21.tar.gz opensim-SC_OLD-6de7da467a508a28cd11c13ed1ad2e8400520b21.tar.bz2 opensim-SC_OLD-6de7da467a508a28cd11c13ed1ad2e8400520b21.tar.xz |
keep SOG reference to root part since two many things depend on deleted SOGs not being deleted
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/Tests')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs index 2ef86c9..10b2ff6 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | |||
@@ -721,13 +721,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
721 | acd.Appearance.SetAttachment((int)AttachmentPoint.Chest, attItem.ID, attItem.AssetID); | 721 | acd.Appearance.SetAttachment((int)AttachmentPoint.Chest, attItem.ID, attItem.AssetID); |
722 | ScenePresence presence = SceneHelpers.AddScenePresence(scene, acd); | 722 | ScenePresence presence = SceneHelpers.AddScenePresence(scene, acd); |
723 | 723 | ||
724 | SceneObjectGroup rezzedAtt = presence.GetAttachments()[0]; | 724 | UUID rezzedAttID = presence.GetAttachments()[0].UUID; |
725 | 725 | ||
726 | m_numberOfAttachEventsFired = 0; | 726 | m_numberOfAttachEventsFired = 0; |
727 | scene.CloseAgent(presence.UUID, false); | 727 | scene.CloseAgent(presence.UUID, false); |
728 | 728 | ||
729 | // Check that we can't retrieve this attachment from the scene. | 729 | // Check that we can't retrieve this attachment from the scene. |
730 | Assert.That(scene.GetSceneObjectGroup(rezzedAtt.UUID), Is.Null); | 730 | Assert.That(scene.GetSceneObjectGroup(rezzedAttID), Is.Null); |
731 | 731 | ||
732 | // Check events | 732 | // Check events |
733 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); | 733 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); |