diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index f5d2e00..046dab3 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -298,15 +298,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
298 | 298 | ||
299 | public bool TrySetCurrentScene(string regionName) | 299 | public bool TrySetCurrentScene(string regionName) |
300 | { | 300 | { |
301 | if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) | 301 | if ((String.Compare(regionName, "root") == 0) |
302 | || (String.Compare(regionName, "..") == 0) | ||
303 | || (String.Compare(regionName, "/") == 0)) | ||
302 | { | 304 | { |
303 | m_currentScene = null; | 305 | m_currentScene = null; |
304 | return true; | 306 | return true; |
305 | } | 307 | } |
306 | else | 308 | else |
307 | { | 309 | { |
308 | // Console.WriteLine("Searching for Region: '" + regionName + "'"); | ||
309 | |||
310 | foreach (Scene scene in m_localScenes) | 310 | foreach (Scene scene in m_localScenes) |
311 | { | 311 | { |
312 | if (String.Compare(scene.RegionInfo.RegionName, regionName, true) == 0) | 312 | if (String.Compare(scene.RegionInfo.RegionName, regionName, true) == 0) |