diff options
author | Justin Clark-Casey (justincc) | 2012-09-29 01:14:23 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-29 01:14:23 +0100 |
commit | 818379ba14e487568571113d24a9de7c3a29b458 (patch) | |
tree | 43d0f69be77551c77cf6ae45ff4cf256a3539d95 /OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-818379ba14e487568571113d24a9de7c3a29b458.zip opensim-SC_OLD-818379ba14e487568571113d24a9de7c3a29b458.tar.gz opensim-SC_OLD-818379ba14e487568571113d24a9de7c3a29b458.tar.bz2 opensim-SC_OLD-818379ba14e487568571113d24a9de7c3a29b458.tar.xz |
Fire EventManager.TriggerOnAttach (and hence LSL attach event) when an object is attached from the scene.
Enables previously disabled regression test.
Based on SingpostMarv's patch in http://opensimulator.org/mantis/view.php?id=6302 but I prefer a simpler approach that does not expose a resume scripts option right now.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs index 8d4e2e0..0ee01c7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | |||
@@ -225,9 +225,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
225 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); | 225 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); |
226 | 226 | ||
227 | // Check events | 227 | // Check events |
228 | 228 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(1)); | |
229 | // FIXME: This is currently not occuring! | ||
230 | // Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(1)); | ||
231 | } | 229 | } |
232 | 230 | ||
233 | /// <summary> | 231 | /// <summary> |