aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 48f1394..046c12c 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
@@ -585,7 +587,7 @@ public class BSShapeHull : BSShape
585 lock (physicsScene.mesher) 587 lock (physicsScene.mesher)
586 { 588 {
587 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 589 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
588 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 590 meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
589 591
590 // If we should use the asset's hull info, fetch it out of the locked mesher 592 // If we should use the asset's hull info, fetch it out of the locked mesher
591 if (meshData != null && BSParam.ShouldUseAssetHulls) 593 if (meshData != null && BSParam.ShouldUseAssetHulls)