aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 91044be..7420134 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2367,7 +2367,7 @@ namespace OpenSim.Region.Framework.Scenes
2367 2367
2368 if (m_isChildAgent == false) 2368 if (m_isChildAgent == false)
2369 { 2369 {
2370 Vector3 velocity = m_physicsActor.Velocity; 2370 Vector3 velocity = (m_physicsActor != null) ? m_physicsActor.Velocity : Vector3.Zero;
2371 2371
2372 // Throw away duplicate or insignificant updates 2372 // Throw away duplicate or insignificant updates
2373 if (!m_bodyRot.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) || 2373 if (!m_bodyRot.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) ||