diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index b6eae8e..7602d6b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3450,9 +3450,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
3450 | 3450 | ||
3451 | Vector3 pVec = AbsolutePosition; | 3451 | Vector3 pVec = AbsolutePosition; |
3452 | 3452 | ||
3453 | /* | ||
3453 | PhysicsActor = scene.AddAvatar( | 3454 | PhysicsActor = scene.AddAvatar( |
3454 | LocalId, Firstname + "." + Lastname, pVec, | 3455 | LocalId, Firstname + "." + Lastname, pVec, |
3455 | new Vector3(0.45f, 0.6f, Appearance.AvatarHeight), isFlying); | 3456 | new Vector3(0.45f, 0.6f, Appearance.AvatarHeight), isFlying); |
3457 | */ | ||
3458 | |||
3459 | PhysicsActor = scene.AddAvatar( | ||
3460 | LocalId, Firstname + "." + Lastname, pVec, | ||
3461 | Appearance.AvatarBoxSize,Appearance.AvatarFeetOffset, isFlying); | ||
3456 | 3462 | ||
3457 | //PhysicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; | 3463 | //PhysicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; |
3458 | PhysicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; | 3464 | PhysicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; |