From 3a83be1721155d606d564dfd4c3bd36560a95c4a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 2 Jan 2008 10:06:43 +0000 Subject: * Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers. * You can put UUIDs in those fields to give other users some ability to help manage a sim you own. * Also started decoding the EstateOwnerMessage packet convolutions. --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs') 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 // TODO: m_animations and m_animationSeqs should always be of the same length. // Move them into an object to (hopefully) avoid threading issues. - m_animations.Add(Animations.AnimsLLUUID["STAND"]); + try + { + m_animations.Add(Animations.AnimsLLUUID["STAND"]); + } + catch (KeyNotFoundException) + { + MainLog.Instance.Warn("AVATAR", "KeyNotFound Exception playing avatar stand animation"); + } m_animationSeqs.Add(1); RegisterToEvents(); -- cgit v1.1