mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -201,7 +201,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
if (folder == null || folder.Owner != remoteClient.AgentId)
|
||||
return;
|
||||
|
||||
if (transactionID != UUID.Zero && assetType != (byte)AssetType.Settings)
|
||||
if (!transactionID.IsZero() && assetType != (byte)AssetType.Settings)
|
||||
{
|
||||
IAgentAssetTransactions agentTransactions = m_Scene.AgentTransactionsModule;
|
||||
if (agentTransactions != null)
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
m_userAccountService = s.UserAccountService;
|
||||
if(m_gridUserService == null)
|
||||
m_gridUserService = s.GridUserService;
|
||||
if (s.RegionInfo.ScopeID != UUID.Zero)
|
||||
if (!s.RegionInfo.ScopeID.IsZero())
|
||||
m_scopeID = s.RegionInfo.ScopeID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user