From 98e7ea015cb142bda5f8322398056fa2708b3d81 Mon Sep 17 00:00:00 2001 From: idb Date: Sun, 15 Feb 2009 16:12:58 +0000 Subject: Fix exception when standing up. Fixes Mantis #3170 --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d590d99..0aac6e1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1471,7 +1471,7 @@ namespace OpenSim.Region.Framework.Scenes if (m_physicsActor == null) { - AddToPhysicalScene(m_physicsActor.Flying); + AddToPhysicalScene(false); } m_pos += m_parentPosition + new Vector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight); -- cgit v1.1