== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-08 23:35:56 +00:00
parent cb98fb309c
commit 357f20eb14
73 changed files with 251 additions and 260 deletions

View File

@@ -182,7 +182,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
{
lock (m_animations)
{
int j = m_defaultAnimation.AnimID == UUID.Zero ? 0 : 1;
int j = m_defaultAnimation.AnimID.IsZero() ? 0 : 1;
int defaultSize = m_animations.Count + j;
animIDs = new UUID[defaultSize];