diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 9454de0..3aa9583 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -320,7 +320,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
320 | 320 | ||
321 | // TODO: m_animations and m_animationSeqs should always be of the same length. | 321 | // TODO: m_animations and m_animationSeqs should always be of the same length. |
322 | // Move them into an object to (hopefully) avoid threading issues. | 322 | // Move them into an object to (hopefully) avoid threading issues. |
323 | m_animations.Add(Animations.AnimsLLUUID["STAND"]); | 323 | try |
324 | { | ||
325 | m_animations.Add(Animations.AnimsLLUUID["STAND"]); | ||
326 | } | ||
327 | catch (KeyNotFoundException) | ||
328 | { | ||
329 | MainLog.Instance.Warn("AVATAR", "KeyNotFound Exception playing avatar stand animation"); | ||
330 | } | ||
324 | m_animationSeqs.Add(1); | 331 | m_animationSeqs.Add(1); |
325 | 332 | ||
326 | RegisterToEvents(); | 333 | RegisterToEvents(); |