Do case-insensitive comparisons on region names in LLStandaloneLoginModule

0.6.8-post-fixes
John Hurliman 2009-10-26 15:12:43 -07:00
parent ac7ccdf7d7
commit ff4b45a1e3
2 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ namespace OpenSim.Client.Linden
{ {
foreach (Scene nextScene in m_scenes) foreach (Scene nextScene in m_scenes)
{ {
if (nextScene.RegionInfo.RegionName == regionName) if (nextScene.RegionInfo.RegionName.Equals(regionName, StringComparison.InvariantCultureIgnoreCase))
{ {
scene = nextScene; scene = nextScene;
return true; return true;

View File

@ -2707,12 +2707,12 @@ namespace OpenSim.Region.Physics.OdePlugin
{ {
if (prim.m_taintremove) if (prim.m_taintremove)
{ {
//Console.WriteLine("Simulate calls RemovePrimThreadLocked"); //Console.WriteLine("Simulate calls RemovePrimThreadLocked");
RemovePrimThreadLocked(prim); RemovePrimThreadLocked(prim);
} }
else else
{ {
//Console.WriteLine("Simulate calls ProcessTaints"); //Console.WriteLine("Simulate calls ProcessTaints");
prim.ProcessTaints(timeStep); prim.ProcessTaints(timeStep);
} }
processedtaints = true; processedtaints = true;