Fix SceneManager to use the new automatic property throughout.

avinationmerge
Melanie 2013-03-21 01:44:09 +01:00
parent 8d9bfda727
commit cc504eb0d1
1 changed files with 2 additions and 3 deletions

View File

@ -100,7 +100,6 @@ namespace OpenSim.Region.Framework.Scenes
}
private readonly DoubleDictionary<UUID, string, Scene> m_localScenes = new DoubleDictionary<UUID, string, Scene>();
private Scene m_currentScene = null;
public List<Scene> Scenes
{
@ -354,7 +353,7 @@ namespace OpenSim.Region.Framework.Scenes
if (m_localScenes.TryGetValue(regionName, out s))
{
m_currentScene = s;
CurrentScene = s;
return true;
}
@ -370,7 +369,7 @@ namespace OpenSim.Region.Framework.Scenes
if (m_localScenes.TryGetValue(regionID, out s))
{
m_currentScene = s;
CurrentScene = s;
return true;
}