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