mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -605,7 +605,7 @@ namespace OpenSim.Groups
|
||||
private string AgentUUI(string AgentIDStr)
|
||||
{
|
||||
UUID AgentID = UUID.Zero;
|
||||
if (!UUID.TryParse(AgentIDStr, out AgentID) || AgentID == UUID.Zero)
|
||||
if (!UUID.TryParse(AgentIDStr, out AgentID) || AgentID.IsZero())
|
||||
return UUID.Zero.ToString();
|
||||
|
||||
if (m_UserManagement.IsLocalGridUser(AgentID))
|
||||
@@ -630,8 +630,8 @@ namespace OpenSim.Groups
|
||||
private string AgentUUIForOutside(string AgentIDStr)
|
||||
{
|
||||
UUID AgentID = UUID.Zero;
|
||||
if (!UUID.TryParse(AgentIDStr, out AgentID) || AgentID == UUID.Zero)
|
||||
return UUID.Zero.ToString();
|
||||
if (!UUID.TryParse(AgentIDStr, out AgentID) || AgentID.IsZero())
|
||||
return UUID.ZeroString;
|
||||
|
||||
AgentCircuitData agent = null;
|
||||
foreach (Scene scene in m_Scenes)
|
||||
|
||||
Reference in New Issue
Block a user