diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-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 f59b9d9..07e34ab 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(objName, pbs, size, lod, | 634 | IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, 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) |
@@ -730,7 +732,7 @@ public sealed class BSShapeCollection : IDisposable | |||
730 | { | 732 | { |
731 | // Build a new hull in the physical world | 733 | // Build a new hull in the physical world |
732 | // Pass true for physicalness as this creates some sort of bounding box which we don't need | 734 | // Pass true for physicalness as this creates some sort of bounding box which we don't need |
733 | IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true, false); | 735 | IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true, false, false, false); |
734 | if (meshData != null) | 736 | if (meshData != null) |
735 | { | 737 | { |
736 | 738 | ||