diff options
author | Arthur Valadares | 2009-07-23 16:57:41 +0000 |
---|---|---|
committer | Arthur Valadares | 2009-07-23 16:57:41 +0000 |
commit | 7bf59c551e60736303921b69812378329be3539a (patch) | |
tree | 9f011ba074e783be0ed0b987669a6979983bb318 /OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC_OLD-7bf59c551e60736303921b69812378329be3539a.zip opensim-SC_OLD-7bf59c551e60736303921b69812378329be3539a.tar.gz opensim-SC_OLD-7bf59c551e60736303921b69812378329be3539a.tar.bz2 opensim-SC_OLD-7bf59c551e60736303921b69812378329be3539a.tar.xz |
* Updates RESTInterregionComms and LocalInterregionComms to the new region module interface. This fixes an issue where region references were being added but weren't being deleted,
causing those "unnotified circuit" messages.
* Also fixes tests accordingly
- Fixes Mantis #3452
- Fixes Mantis #3388
- Fixes Mantis #3871
- Related to Mantis #3493
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs index f0c31d0..1836447 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |||
@@ -71,10 +71,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
71 | scene2 = SceneSetupHelpers.SetupScene("Neighbour x+1", UUID.Random(), 1001, 1000, cm); | 71 | scene2 = SceneSetupHelpers.SetupScene("Neighbour x+1", UUID.Random(), 1001, 1000, cm); |
72 | scene3 = SceneSetupHelpers.SetupScene("Neighbour x-1", UUID.Random(), 999, 1000, cm); | 72 | scene3 = SceneSetupHelpers.SetupScene("Neighbour x-1", UUID.Random(), 999, 1000, cm); |
73 | 73 | ||
74 | IRegionModule interregionComms = new RESTInterregionComms(); | 74 | ISharedRegionModule interregionComms = new RESTInterregionComms(); |
75 | interregionComms.Initialise(scene, new IniConfigSource()); | 75 | interregionComms.Initialise(new IniConfigSource()); |
76 | interregionComms.Initialise(scene2, new IniConfigSource()); | ||
77 | interregionComms.Initialise(scene3, new IniConfigSource()); | ||
78 | interregionComms.PostInitialise(); | 76 | interregionComms.PostInitialise(); |
79 | SceneSetupHelpers.SetupSceneModules(scene, new IniConfigSource(), interregionComms); | 77 | SceneSetupHelpers.SetupSceneModules(scene, new IniConfigSource(), interregionComms); |
80 | SceneSetupHelpers.SetupSceneModules(scene2, new IniConfigSource(), interregionComms); | 78 | SceneSetupHelpers.SetupSceneModules(scene2, new IniConfigSource(), interregionComms); |