aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-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 b6ac23d..220fbbc 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)
@@ -747,7 +749,7 @@ public sealed class BSShapeCollection : IDisposable
747 { 749 {
748 // Build a new hull in the physical world. 750 // Build a new hull in the physical world.
749 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 751 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
750 IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 752 IMesh meshData = PhysicsScene.mesher.CreateMesh(objName, pbs, size, lod, true, false, false, false);
751 if (meshData != null) 753 if (meshData != null)
752 { 754 {
753 755