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 262d734..2dc029e 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
@@ -424,7 +424,9 @@ public class BSShapeMesh : BSShape
424 424
425 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, 425 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod,
426 false, // say it is not physical so a bounding box is not built 426 false, // say it is not physical so a bounding box is not built
427 false // do not cache the mesh and do not use previously built versions 427 false, // do not cache the mesh and do not use previously built versions
428 false,
429 false
428 ); 430 );
429 431
430 if (meshData != null) 432 if (meshData != null)
@@ -591,7 +593,7 @@ public class BSShapeHull : BSShape
591 { 593 {
592 // Build a new hull in the physical world using the C# HACD algorigthm. 594 // Build a new hull in the physical world using the C# HACD algorigthm.
593 // Pass true for physicalness as this prevents the creation of bounding box which is not needed 595 // Pass true for physicalness as this prevents the creation of bounding box which is not needed
594 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); 596 IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false);
595 if (meshData != null) 597 if (meshData != null)
596 { 598 {
597 if (prim.PrimAssetState == BSPhysObject.PrimAssetCondition.Fetched) 599 if (prim.PrimAssetState == BSPhysObject.PrimAssetCondition.Fetched)