mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -219,9 +219,9 @@ namespace OpenSim.Region.DataSnapshot.Providers
|
||||
if (textures != null)
|
||||
{
|
||||
if (textures.DefaultTexture != null &&
|
||||
textures.DefaultTexture.TextureID != UUID.Zero &&
|
||||
textures.DefaultTexture.TextureID != m_DefaultImage &&
|
||||
textures.DefaultTexture.TextureID != m_BlankImage &&
|
||||
!textures.DefaultTexture.TextureID.IsZero() &&
|
||||
textures.DefaultTexture.TextureID.NotEqual(m_DefaultImage) &&
|
||||
textures.DefaultTexture.TextureID.NotEqual(m_BlankImage) &&
|
||||
textures.DefaultTexture.RGBA.A < 50f)
|
||||
{
|
||||
counts[textures.DefaultTexture.TextureID] = 8;
|
||||
|
||||
Reference in New Issue
Block a user