diff options
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 2 | ||||
-rwxr-xr-x | bin/lib32/BulletSim.dll | bin | 533504 -> 533504 bytes | |||
-rwxr-xr-x | bin/lib32/libBulletSim.so | bin | 2341210 -> 2341988 bytes | |||
-rwxr-xr-x | bin/lib64/BulletSim.dll | bin | 684032 -> 684544 bytes | |||
-rwxr-xr-x | bin/lib64/libBulletSim.so | bin | 2541764 -> 2542810 bytes |
6 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs index 494f5a6..ee485b4 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | |||
@@ -274,9 +274,12 @@ public class BSCharacter : PhysicsActor | |||
274 | public override bool Flying { | 274 | public override bool Flying { |
275 | get { return _flying; } | 275 | get { return _flying; } |
276 | set { | 276 | set { |
277 | _flying = value; | 277 | if (_flying != value) |
278 | // simulate flying by changing the effect of gravity | 278 | { |
279 | this.Buoyancy = ComputeBuoyancyFromFlying(_flying); | 279 | _flying = value; |
280 | // simulate flying by changing the effect of gravity | ||
281 | this.Buoyancy = ComputeBuoyancyFromFlying(_flying); | ||
282 | } | ||
280 | } | 283 | } |
281 | } | 284 | } |
282 | private float ComputeBuoyancyFromFlying(bool ifFlying) { | 285 | private float ComputeBuoyancyFromFlying(bool ifFlying) { |
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 011033c..7151908 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -352,7 +352,7 @@ public class BSScene : PhysicsScene, IPhysicsParameters | |||
352 | BSPrim bsprim = prim as BSPrim; | 352 | BSPrim bsprim = prim as BSPrim; |
353 | if (bsprim != null) | 353 | if (bsprim != null) |
354 | { | 354 | { |
355 | m_log.DebugFormat("{0}: RemovePrim. id={1}/{2}", LogHeader, bsprim.Name, bsprim.LocalID); | 355 | // m_log.DebugFormat("{0}: RemovePrim. id={1}/{2}", LogHeader, bsprim.Name, bsprim.LocalID); |
356 | try | 356 | try |
357 | { | 357 | { |
358 | lock (m_prims) m_prims.Remove(bsprim.LocalID); | 358 | lock (m_prims) m_prims.Remove(bsprim.LocalID); |
diff --git a/bin/lib32/BulletSim.dll b/bin/lib32/BulletSim.dll index 4f8bb4a..0317523 100755 --- a/bin/lib32/BulletSim.dll +++ b/bin/lib32/BulletSim.dll | |||
Binary files differ | |||
diff --git a/bin/lib32/libBulletSim.so b/bin/lib32/libBulletSim.so index 5fa17f2..0ae9a5b 100755 --- a/bin/lib32/libBulletSim.so +++ b/bin/lib32/libBulletSim.so | |||
Binary files differ | |||
diff --git a/bin/lib64/BulletSim.dll b/bin/lib64/BulletSim.dll index a0e471f..778e41a 100755 --- a/bin/lib64/BulletSim.dll +++ b/bin/lib64/BulletSim.dll | |||
Binary files differ | |||
diff --git a/bin/lib64/libBulletSim.so b/bin/lib64/libBulletSim.so index c646383..a1a4716 100755 --- a/bin/lib64/libBulletSim.so +++ b/bin/lib64/libBulletSim.so | |||
Binary files differ | |||