mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code clarity since non-default animations are handled completely separately from this class
This commit is contained in:
@@ -99,7 +99,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
|
||||
// XXX: For some reason, we store all animations and use them with upper case names, but in LSL animations
|
||||
// are referenced with lower case names!
|
||||
UUID animID = AvatarAnimations.GetDefaultAnimation(name.ToUpper());
|
||||
UUID animID = DefaultAvatarAnimations.GetDefaultAnimation(name.ToUpper());
|
||||
if (animID == UUID.Zero)
|
||||
return;
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
|
||||
// XXX: For some reason, we store all animations and use them with upper case names, but in LSL animations
|
||||
// are referenced with lower case names!
|
||||
UUID animID = AvatarAnimations.GetDefaultAnimation(name);
|
||||
UUID animID = DefaultAvatarAnimations.GetDefaultAnimation(name);
|
||||
if (animID == UUID.Zero)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user