aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
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 bfa69b2..76860e4 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
@@ -637,8 +637,10 @@ public sealed class BSShapeCollection : IDisposable
637 else 637 else
638 { 638 {
639 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, 639 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod,
640 true,
640 false, // say it is not physical so a bounding box is not built 641 false, // say it is not physical so a bounding box is not built
641 false // do not cache the mesh and do not use previously built versions 642 false, // do not cache the mesh and do not use previously built versions
643 false // It's NOT for ODE
642 ); 644 );
643 645
644 if (meshData != null) 646 if (meshData != null)
@@ -785,7 +787,7 @@ public sealed class BSShapeCollection : IDisposable
785 { 787 {
786 // Build a new hull in the physical world. 788 // Build a new hull in the physical world.
787 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 789 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
788 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 790 IMesh meshData = PhysicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
789 if (meshData != null) 791 if (meshData != null)
790 { 792 {
791 int[] indices = meshData.getIndexListAsInt(); 793 int[] indices = meshData.getIndexListAsInt();