diff options
* Fixed neighbour range bug
* Various refactorings
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
453 | { | 453 | { |
454 | if (PhysicsActor != null) | 454 | if (PhysicsActor != null) |
455 | { | 455 | { |
456 | m_scene.PhysScene.RemoveAvatar(PhysicsActor); | 456 | m_scene.PhysicsScene.RemoveAvatar(PhysicsActor); |
457 | m_physicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; | 457 | m_physicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; |
458 | m_physicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; | 458 | m_physicsActor.OnCollisionUpdate -= PhysicsCollisionUpdate; |
459 | PhysicsActor = null; | 459 | PhysicsActor = null; |
@@ -1320,7 +1320,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1320 | 1320 | ||
1321 | public void AddToPhysicalScene() | 1321 | public void AddToPhysicalScene() |
1322 | { | 1322 | { |
1323 | PhysicsScene scene = m_scene.PhysScene; | 1323 | PhysicsScene scene = m_scene.PhysicsScene; |
1324 | 1324 | ||
1325 | PhysicsVector pVec = | 1325 | PhysicsVector pVec = |
1326 | new PhysicsVector(AbsolutePosition.X, AbsolutePosition.Y, | 1326 | new PhysicsVector(AbsolutePosition.X, AbsolutePosition.Y, |