mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -596,7 +596,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
|
||||
m_Requests++;
|
||||
|
||||
if (id.Equals(Util.UUIDZeroString))
|
||||
if (id.Equals(UUID.ZeroString))
|
||||
return false;
|
||||
|
||||
if (m_negativeCache.ContainsKey(id))
|
||||
@@ -1255,7 +1255,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
Primitive.TextureEntryFace face = FaceTextures[idx];
|
||||
if (face == null)
|
||||
continue;
|
||||
if (face.TextureID == UUID.Zero || face.TextureID == AppearanceManager.DEFAULT_AVATAR_TEXTURE)
|
||||
if (face.TextureID.IsZero() || face.TextureID.Equals(AppearanceManager.DEFAULT_AVATAR_TEXTURE))
|
||||
continue;
|
||||
gatherer.AddGathered(face.TextureID, (sbyte)AssetType.Texture);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user