From 7704bb6f63f608df79fee2c3dcea7d5deabeee17 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 29 Nov 2007 15:27:57 +0000 Subject: * Fixed neighbour range bug * Various refactorings --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 6117828..fc1d738 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -453,7 +453,7 @@ namespace OpenSim.Region.Environment.Scenes { if (PhysicsActor != null) { - m_scene.PhysScene.RemoveAvatar(PhysicsActor); + m_scene.PhysicsScene.RemoveAvatar(PhysicsActor); m_physicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; m_physicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; PhysicsActor = null; @@ -1320,7 +1320,7 @@ namespace OpenSim.Region.Environment.Scenes public void AddToPhysicalScene() { - PhysicsScene scene = m_scene.PhysScene; + PhysicsScene scene = m_scene.PhysicsScene; PhysicsVector pVec = new PhysicsVector(AbsolutePosition.X, AbsolutePosition.Y, -- cgit v1.1