diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs index b16bc10..05c147d 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | |||
@@ -632,8 +632,10 @@ public sealed class BSShapeCollection : IDisposable | |||
632 | else | 632 | else |
633 | { | 633 | { |
634 | IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, | 634 | IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, |
635 | true, | ||
635 | false, // say it is not physical so a bounding box is not built | 636 | false, // say it is not physical so a bounding box is not built |
636 | false // do not cache the mesh and do not use previously built versions | 637 | false, // do not cache the mesh and do not use previously built versions |
638 | false // It's NOT for ODE | ||
637 | ); | 639 | ); |
638 | 640 | ||
639 | if (meshData != null) | 641 | if (meshData != null) |
@@ -740,7 +742,7 @@ public sealed class BSShapeCollection : IDisposable | |||
740 | { | 742 | { |
741 | // Build a new hull in the physical world | 743 | // Build a new hull in the physical world |
742 | // Pass true for physicalness as this creates some sort of bounding box which we don't need | 744 | // Pass true for physicalness as this creates some sort of bounding box which we don't need |
743 | IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true, false); | 745 | IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true, false, false, false); |
744 | if (meshData != null) | 746 | if (meshData != null) |
745 | { | 747 | { |
746 | 748 | ||