diff options
author | Jeff Ames | 2009-08-26 12:58:37 +0900 |
---|---|---|
committer | Jeff Ames | 2009-08-26 14:02:01 +0900 |
commit | 256624566f4708fc6e3280c240393d0abdb7beb6 (patch) | |
tree | 2b0005a270e4dad39f888f8c760ad0ada3635798 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | A slightly modified version of (diff) | |
download | opensim-SC-256624566f4708fc6e3280c240393d0abdb7beb6.zip opensim-SC-256624566f4708fc6e3280c240393d0abdb7beb6.tar.gz opensim-SC-256624566f4708fc6e3280c240393d0abdb7beb6.tar.bz2 opensim-SC-256624566f4708fc6e3280c240393d0abdb7beb6.tar.xz |
Formatting cleanup, minor refactoring.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 759692f..d192018 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -1025,7 +1025,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1025 | } | 1025 | } |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | |||
1029 | if (flying) | 1028 | if (flying) |
1030 | { | 1029 | { |
1031 | vec.Z = (_target_velocity.Z - vel.Z) * (PID_D); | 1030 | vec.Z = (_target_velocity.Z - vel.Z) * (PID_D); |
@@ -1044,7 +1043,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1044 | vec.Z += (target_altitude - _position.Z) * PID_P * 5.0f; | 1043 | vec.Z += (target_altitude - _position.Z) * PID_P * 5.0f; |
1045 | } | 1044 | } |
1046 | // end add Kitto Flora | 1045 | // end add Kitto Flora |
1047 | |||
1048 | } | 1046 | } |
1049 | if (PhysicsVector.isFinite(vec)) | 1047 | if (PhysicsVector.isFinite(vec)) |
1050 | { | 1048 | { |
@@ -1080,8 +1078,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1080 | _parent_scene.geom_name_map.Remove(Shell); | 1078 | _parent_scene.geom_name_map.Remove(Shell); |
1081 | Shell = IntPtr.Zero; | 1079 | Shell = IntPtr.Zero; |
1082 | } | 1080 | } |
1083 | |||
1084 | return; | ||
1085 | } | 1081 | } |
1086 | } | 1082 | } |
1087 | 1083 | ||