diff options
author | Diva Canto | 2012-09-15 19:35:33 -0700 |
---|---|---|
committer | Diva Canto | 2012-09-15 19:35:33 -0700 |
commit | daa4745fb785d30de256f04c763bfd6478ea2238 (patch) | |
tree | a68b49adb21eb5902f0e3a9687878e6c6db5e014 /OpenSim/Region/Framework/Scenes | |
parent | More on HG2.0: added the possibility of controlling the appearance that avies... (diff) | |
parent | BulletSim: update DLLs and SOs and remove some debugging code. (diff) | |
download | opensim-SC_OLD-daa4745fb785d30de256f04c763bfd6478ea2238.zip opensim-SC_OLD-daa4745fb785d30de256f04c763bfd6478ea2238.tar.gz opensim-SC_OLD-daa4745fb785d30de256f04c763bfd6478ea2238.tar.bz2 opensim-SC_OLD-daa4745fb785d30de256f04c763bfd6478ea2238.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneManager.cs | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 2f34785..e1c9c8e 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -531,7 +531,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
531 | /// the scripts may not have started yet | 531 | /// the scripts may not have started yet |
532 | /// Message is non empty string if there were problems loading the oar file | 532 | /// Message is non empty string if there were problems loading the oar file |
533 | /// </summary> | 533 | /// </summary> |
534 | public delegate void OarFileLoaded(Guid guid, string message); | 534 | public delegate void OarFileLoaded(Guid guid, List<UUID> loadedScenes, string message); |
535 | public event OarFileLoaded OnOarFileLoaded; | 535 | public event OarFileLoaded OnOarFileLoaded; |
536 | 536 | ||
537 | /// <summary> | 537 | /// <summary> |
@@ -2195,7 +2195,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2195 | return 6; | 2195 | return 6; |
2196 | } | 2196 | } |
2197 | 2197 | ||
2198 | public void TriggerOarFileLoaded(Guid requestId, string message) | 2198 | public void TriggerOarFileLoaded(Guid requestId, List<UUID> loadedScenes, string message) |
2199 | { | 2199 | { |
2200 | OarFileLoaded handlerOarFileLoaded = OnOarFileLoaded; | 2200 | OarFileLoaded handlerOarFileLoaded = OnOarFileLoaded; |
2201 | if (handlerOarFileLoaded != null) | 2201 | if (handlerOarFileLoaded != null) |
@@ -2204,7 +2204,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2204 | { | 2204 | { |
2205 | try | 2205 | try |
2206 | { | 2206 | { |
2207 | d(requestId, message); | 2207 | d(requestId, loadedScenes, message); |
2208 | } | 2208 | } |
2209 | catch (Exception e) | 2209 | catch (Exception e) |
2210 | { | 2210 | { |
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs index c81b55d..cb5b2ba 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -92,7 +92,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
92 | private static SceneManager m_instance = null; | 92 | private static SceneManager m_instance = null; |
93 | public static SceneManager Instance | 93 | public static SceneManager Instance |
94 | { | 94 | { |
95 | get { return m_instance; } | 95 | get { |
96 | if (m_instance == null) | ||
97 | m_instance = new SceneManager(); | ||
98 | return m_instance; | ||
99 | } | ||
96 | } | 100 | } |
97 | 101 | ||
98 | private readonly List<Scene> m_localScenes = new List<Scene>(); | 102 | private readonly List<Scene> m_localScenes = new List<Scene>(); |