aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSShapes.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
index 81edc12..395dbe3 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
@@ -446,7 +446,9 @@ public class BSShapeMesh : BSShape
446 { 446 {
447 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, 447 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod,
448 false, // say it is not physical so a bounding box is not built 448 false, // say it is not physical so a bounding box is not built
449 false // do not cache the mesh and do not use previously built versions 449 false, // do not cache the mesh and do not use previously built versions
450 false,
451 false
450 ); 452 );
451 } 453 }
452 454
@@ -584,7 +586,7 @@ public class BSShapeHull : BSShape
584 lock (physicsScene.mesher) 586 lock (physicsScene.mesher)
585 { 587 {
586 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 588 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
587 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 589 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
588 590
589 // If we should use the asset's hull info, fetch it out of the locked mesher 591 // If we should use the asset's hull info, fetch it out of the locked mesher
590 if (meshData != null && BSParam.ShouldUseAssetHulls) 592 if (meshData != null && BSParam.ShouldUseAssetHulls)