mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
clamp/limit a few things; a few cosmetics on animation control
This commit is contained in:
@@ -17505,8 +17505,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
UUID animID = presence.GetAnimationOverride(state);
|
||||
if (animID.IsZero())
|
||||
if (!presence.TryGetAnimationOverride(state, out UUID animID) || animID.IsZero())
|
||||
return animState;
|
||||
|
||||
foreach (KeyValuePair<string, UUID> kvp in DefaultAvatarAnimations.AnimsUUIDbyName)
|
||||
|
||||
Reference in New Issue
Block a user