diff options
author | Melanie | 2009-10-06 17:44:59 +0100 |
---|---|---|
committer | Melanie | 2009-10-06 17:44:59 +0100 |
commit | 0374f1b144f3faf35da39e3925e8abd4b2a8bd04 (patch) | |
tree | 456d3d532c70d32564d35fc3cb9bbc81bdf08b2e /OpenSim/Region/Physics | |
parent | Make sure that keys exist in arrays before trying to access them. (diff) | |
parent | Corrected words in error message. (diff) | |
download | opensim-SC-0374f1b144f3faf35da39e3925e8abd4b2a8bd04.zip opensim-SC-0374f1b144f3faf35da39e3925e8abd4b2a8bd04.tar.gz opensim-SC-0374f1b144f3faf35da39e3925e8abd4b2a8bd04.tar.bz2 opensim-SC-0374f1b144f3faf35da39e3925e8abd4b2a8bd04.tar.xz |
Merge branch 'master' into vehicles
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 06bae5a..c02b123 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -3488,7 +3488,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
3488 | public override void UnCombine(PhysicsScene pScene) | 3488 | public override void UnCombine(PhysicsScene pScene) |
3489 | { | 3489 | { |
3490 | IntPtr localGround = IntPtr.Zero; | 3490 | IntPtr localGround = IntPtr.Zero; |
3491 | float[] localHeightfield; | 3491 | //float[] localHeightfield; |
3492 | bool proceed = false; | 3492 | bool proceed = false; |
3493 | List<IntPtr> geomDestroyList = new List<IntPtr>(); | 3493 | List<IntPtr> geomDestroyList = new List<IntPtr>(); |
3494 | 3494 | ||
@@ -3785,16 +3785,13 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
3785 | sides.Z = 0.5f; | 3785 | sides.Z = 0.5f; |
3786 | 3786 | ||
3787 | ds.DrawBox(ref pos, ref R, ref sides); | 3787 | ds.DrawBox(ref pos, ref R, ref sides); |
3788 | |||
3789 | |||
3790 | } | 3788 | } |
3791 | } | 3789 | } |
3792 | } | 3790 | } |
3793 | } | 3791 | } |
3794 | 3792 | ||
3795 | public void start(int unused) | 3793 | public void start(int unused) |
3796 | { | 3794 | { |
3797 | |||
3798 | ds.SetViewpoint(ref xyz, ref hpr); | 3795 | ds.SetViewpoint(ref xyz, ref hpr); |
3799 | } | 3796 | } |
3800 | #endif | 3797 | #endif |