aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJeff Ames2007-11-13 13:47:03 +0000
committerJeff Ames2007-11-13 13:47:03 +0000
commitae4312a6983b0e7453ba311e59629fdb8fdc7420 (patch)
treec9faeb91d56d69c99f26a8f93d77e32abea2b2ef
parentSome work on cleanly removing Regions. (diff)
downloadopensim-SC_OLD-ae4312a6983b0e7453ba311e59629fdb8fdc7420.zip
opensim-SC_OLD-ae4312a6983b0e7453ba311e59629fdb8fdc7420.tar.gz
opensim-SC_OLD-ae4312a6983b0e7453ba311e59629fdb8fdc7420.tar.bz2
opensim-SC_OLD-ae4312a6983b0e7453ba311e59629fdb8fdc7420.tar.xz
replaced exception when sitting and typing with rather amusing getting up and sitting back down animation
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index cfa4ffe..20ec72e 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -703,6 +703,18 @@ namespace OpenSim.Region.Environment.Scenes
703 } 703 }
704 } 704 }
705 } 705 }
706 else if (m_parentID != 0)
707 {
708 if (m_isTyping)
709 {
710 SendAnimPack(Animations.AnimsLLUUID["TYPE"], 1);
711 }
712 else
713 {
714 // TODO: stop the typing animation, continue sitting
715 SendAnimPack(Animations.AnimsLLUUID["SIT"], 1);
716 }
717 }
706 else 718 else
707 { 719 {
708 if (((m_movementflag & (uint) MainAvatar.ControlFlags.AGENT_CONTROL_UP_NEG) != 0) && 720 if (((m_movementflag & (uint) MainAvatar.ControlFlags.AGENT_CONTROL_UP_NEG) != 0) &&