diff options
author | Robert Adams | 2012-09-27 08:23:29 -0700 |
---|---|---|
committer | Robert Adams | 2012-09-27 22:01:52 -0700 |
commit | f82b903deeaaf8eaa7ae5c4d4b7e917dd0a6ce7b (patch) | |
tree | 3d355254a7bcb8c447fbfef901784af7062763d4 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs | |
parent | BulletSim: Terrain sets proper collision flags on creation. (diff) | |
download | opensim-SC_OLD-f82b903deeaaf8eaa7ae5c4d4b7e917dd0a6ce7b.zip opensim-SC_OLD-f82b903deeaaf8eaa7ae5c4d4b7e917dd0a6ce7b.tar.gz opensim-SC_OLD-f82b903deeaaf8eaa7ae5c4d4b7e917dd0a6ce7b.tar.bz2 opensim-SC_OLD-f82b903deeaaf8eaa7ae5c4d4b7e917dd0a6ce7b.tar.xz |
BulletSim: Fix linkset crash. Caused by the different body and shape
pointers at runtime and at taint-time. Now passes the body into the
taint.
Vehicles zero inertia when active to eliminate Bullet's contribution
to vehicle motion.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs index 6910050..2d65a35 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs | |||
@@ -369,16 +369,16 @@ public enum CollisionFilterGroups : uint | |||
369 | BSolidFilter = 1 << 13, | 369 | BSolidFilter = 1 << 13, |
370 | 370 | ||
371 | // The collsion filters and masked are defined in one place -- don't want them scattered | 371 | // The collsion filters and masked are defined in one place -- don't want them scattered |
372 | AvatarFilter = BDefaultFilter | BCharacterFilter | BSolidFilter, | 372 | AvatarFilter = BCharacterFilter, |
373 | AvatarMask = BAllFilter, | 373 | AvatarMask = BAllFilter, |
374 | ObjectFilter = BDefaultFilter | BSolidFilter, | 374 | ObjectFilter = BSolidFilter, |
375 | ObjectMask = BAllFilter, | 375 | ObjectMask = BAllFilter, |
376 | StaticObjectFilter = BDefaultFilter | BStaticFilter | BSolidFilter, | 376 | StaticObjectFilter = BStaticFilter, |
377 | StaticObjectMask = BAllFilter, | 377 | StaticObjectMask = BAllFilter, |
378 | VolumeDetectFilter = BSensorTrigger, | 378 | VolumeDetectFilter = BSensorTrigger, |
379 | VolumeDetectMask = ~BSensorTrigger, | 379 | VolumeDetectMask = ~BSensorTrigger, |
380 | TerrainFilter = BTerrainFilter, | 380 | TerrainFilter = BTerrainFilter, |
381 | TerrainMask = BAllFilter, | 381 | TerrainMask = BAllFilter & ~BStaticFilter, |
382 | GroundPlaneFilter = BAllFilter, | 382 | GroundPlaneFilter = BAllFilter, |
383 | GroundPlaneMask = BAllFilter | 383 | GroundPlaneMask = BAllFilter |
384 | 384 | ||