aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-18 21:29:12 +0100
committerJustin Clark-Casey (justincc)2012-07-18 21:29:12 +0100
commit6460e587c470361173291337ad222f48c13a10ce (patch)
tree30a15cc14b348793a16a1d4f121b64059659a6f5 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-6460e587c470361173291337ad222f48c13a10ce.zip
opensim-SC-6460e587c470361173291337ad222f48c13a10ce.tar.gz
opensim-SC-6460e587c470361173291337ad222f48c13a10ce.tar.bz2
opensim-SC-6460e587c470361173291337ad222f48c13a10ce.tar.xz
Pass entire scene object in OnLoginsEnabled event rather than just the region name.
This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index de2b192..8a28ee4 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1493,7 +1493,7 @@ namespace OpenSim.Region.Framework.Scenes
1493 { 1493 {
1494 // need to be able to tell these have changed in RegionReady 1494 // need to be able to tell these have changed in RegionReady
1495 LoginLock = false; 1495 LoginLock = false;
1496 EventManager.TriggerLoginsEnabled(RegionInfo.RegionName); 1496 EventManager.TriggerLoginsEnabled(this);
1497 } 1497 }
1498 1498
1499 // For RegionReady lockouts 1499 // For RegionReady lockouts