* Fixed an annoying pop-up box when crossing borders.

0.6.0-stable
Teravus Ovares 2008-04-23 23:55:02 +00:00
parent 1909d74d5f
commit 12bba3da4b
5 changed files with 17 additions and 9 deletions

View File

@ -258,9 +258,17 @@ namespace OpenSim.Region.Environment.Modules
}
else
{
bool childYN = true;
ScenePresence agent = null;
//client.SecureSessionId;
Scene s = GetRandomScene();
Scene s = LocateSceneClientIn(client.AgentId);
if (s != null)
{
agent = s.GetScenePresence(client.AgentId);
if (agent != null)
childYN = agent.IsChildAgent;
}
if (s != null && agent != null && childYN == false)
{
//s.RegionInfo.RegionHandle;
LLUUID agentID = LLUUID.Zero;
@ -846,7 +854,7 @@ namespace OpenSim.Region.Environment.Modules
}
else
{
throw new Exception("Unable to get funds.");
//throw new Exception("Unable to get funds.");
}
}
return returnfunds;