aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
index bc26460..57e74a3 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
@@ -634,8 +634,10 @@ public sealed class BSShapeCollection : IDisposable
634 else 634 else
635 { 635 {
636 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, 636 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod,
637 true,
637 false, // say it is not physical so a bounding box is not built 638 false, // say it is not physical so a bounding box is not built
638 false // do not cache the mesh and do not use previously built versions 639 false, // do not cache the mesh and do not use previously built versions
640 false // It's NOT for ODE
639 ); 641 );
640 642
641 if (meshData != null) 643 if (meshData != null)
@@ -782,7 +784,7 @@ public sealed class BSShapeCollection : IDisposable
782 { 784 {
783 // Build a new hull in the physical world. 785 // Build a new hull in the physical world.
784 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 786 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
785 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 787 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
786 if (meshData != null) 788 if (meshData != null)
787 { 789 {
788 int[] indices = meshData.getIndexListAsInt(); 790 int[] indices = meshData.getIndexListAsInt();