diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs index 72d039b..6b09468 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs | |||
@@ -429,7 +429,9 @@ public class BSShapeMesh : BSShape | |||
429 | 429 | ||
430 | IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, | 430 | IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, |
431 | false, // say it is not physical so a bounding box is not built | 431 | false, // say it is not physical so a bounding box is not built |
432 | false // do not cache the mesh and do not use previously built versions | 432 | false, // do not cache the mesh and do not use previously built versions |
433 | false, | ||
434 | false | ||
433 | ); | 435 | ); |
434 | 436 | ||
435 | if (meshData != null) | 437 | if (meshData != null) |
@@ -596,7 +598,7 @@ public class BSShapeHull : BSShape | |||
596 | { | 598 | { |
597 | // Build a new hull in the physical world using the C# HACD algorigthm. | 599 | // Build a new hull in the physical world using the C# HACD algorigthm. |
598 | // Pass true for physicalness as this prevents the creation of bounding box which is not needed | 600 | // Pass true for physicalness as this prevents the creation of bounding box which is not needed |
599 | IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */); | 601 | IMesh meshData = physicsScene.mesher.CreateMesh(prim.PhysObjectName, pbs, size, lod, true /* isPhysical */, false /* shouldCache */, false, false); |
600 | if (meshData != null) | 602 | if (meshData != null) |
601 | { | 603 | { |
602 | if (prim.PrimAssetState == BSPhysObject.PrimAssetCondition.Fetched) | 604 | if (prim.PrimAssetState == BSPhysObject.PrimAssetCondition.Fetched) |