aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoropensim mirror account2010-11-02 18:40:03 -0700
committeropensim mirror account2010-11-02 18:40:03 -0700
commit50a3bf6e1492f34c9831f56c5271cb456f516caf (patch)
tree37e157e30474dd0f7059c356101a06984204cef3
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentActually calculate the height before setting it, this isn't done automatically (diff)
downloadopensim-SC_OLD-50a3bf6e1492f34c9831f56c5271cb456f516caf.zip
opensim-SC_OLD-50a3bf6e1492f34c9831f56c5271cb456f516caf.tar.gz
opensim-SC_OLD-50a3bf6e1492f34c9831f56c5271cb456f516caf.tar.bz2
opensim-SC_OLD-50a3bf6e1492f34c9831f56c5271cb456f516caf.tar.xz
Merge branch 'master' of /var/git/opensim/
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a339a4f..964f8cb 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3078,6 +3078,12 @@ namespace OpenSim.Region.Framework.Scenes
3078 m_setAlwaysRun = cAgent.AlwaysRun; 3078 m_setAlwaysRun = cAgent.AlwaysRun;
3079 3079
3080 m_appearance = new AvatarAppearance(cAgent.Appearance); 3080 m_appearance = new AvatarAppearance(cAgent.Appearance);
3081 if (m_physicsActor != null)
3082 {
3083 bool isFlying = m_physicsActor.Flying;
3084 RemoveFromPhysicalScene();
3085 AddToPhysicalScene(isFlying);
3086 }
3081 3087
3082/* 3088/*
3083 uint i = 0; 3089 uint i = 0;
@@ -3188,7 +3194,7 @@ namespace OpenSim.Region.Framework.Scenes
3188 public void AddToPhysicalScene(bool isFlying) 3194 public void AddToPhysicalScene(bool isFlying)
3189 { 3195 {
3190 if (m_appearance.AvatarHeight == 0) 3196 if (m_appearance.AvatarHeight == 0)
3191 return; 3197 m_appearance.SetHeight();
3192 3198
3193 PhysicsScene scene = m_scene.PhysicsScene; 3199 PhysicsScene scene = m_scene.PhysicsScene;
3194 3200