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 b7f7e6c..fca4258 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
@@ -443,7 +443,9 @@ public class BSShapeMesh : BSShape
443 443
444 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, 444 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod,
445 false, // say it is not physical so a bounding box is not built 445 false, // say it is not physical so a bounding box is not built
446 false // do not cache the mesh and do not use previously built versions 446 false, // do not cache the mesh and do not use previously built versions
447 false,
448 false
447 ); 449 );
448 450
449 if (meshData != null) 451 if (meshData != null)
@@ -577,7 +579,7 @@ public class BSShapeHull : BSShape
577 newShape.shapeKey = newHullKey; 579 newShape.shapeKey = newHullKey;
578 580
579 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 581 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
580 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 582 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
581 583
582 // If there is hull data in the mesh asset, build the hull from that 584 // If there is hull data in the mesh asset, build the hull from that
583 if (meshData != null && BSParam.ShouldUseAssetHulls) 585 if (meshData != null && BSParam.ShouldUseAssetHulls)