mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
cosmetics
This commit is contained in:
@@ -115,7 +115,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
else
|
||||
ResetDefaultAnimation();
|
||||
}
|
||||
else if (HasAnimation(animID))
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < m_animations.Count; i++)
|
||||
{
|
||||
@@ -182,9 +182,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
{
|
||||
lock (m_animations)
|
||||
{
|
||||
int j = 0;
|
||||
if (m_defaultAnimation.AnimID != UUID.Zero)
|
||||
++j;
|
||||
int j = m_defaultAnimation.AnimID == UUID.Zero ? 0 : 1;
|
||||
|
||||
int defaultSize = m_animations.Count + j;
|
||||
animIDs = new UUID[defaultSize];
|
||||
|
||||
Reference in New Issue
Block a user