aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
diff options
context:
space:
mode:
authorRobert Adams2012-07-31 16:22:50 -0700
committerRobert Adams2012-07-31 16:23:52 -0700
commitc51ef38e2d867d63d2d32b1a7d284033e60d9952 (patch)
tree7a02b93e48b0cde9d46780ddff54b3cc0587703a /OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
parentBulletSim: change boolean parameters in the shape data from int's to float's ... (diff)
downloadopensim-SC_OLD-c51ef38e2d867d63d2d32b1a7d284033e60d9952.zip
opensim-SC_OLD-c51ef38e2d867d63d2d32b1a7d284033e60d9952.tar.gz
opensim-SC_OLD-c51ef38e2d867d63d2d32b1a7d284033e60d9952.tar.bz2
opensim-SC_OLD-c51ef38e2d867d63d2d32b1a7d284033e60d9952.tar.xz
BulletSim: fix problem where resizing a primary shape (cube or sphere) would not rebuild the physics mesh. Update the DLLs and SOs to latest version.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
index 07f5a21..ea3093a 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
@@ -86,7 +86,7 @@ public class BSConstraint : IDisposable
86 86
87 public bool SetCFMAndERP(float cfm, float erp) 87 public bool SetCFMAndERP(float cfm, float erp)
88 { 88 {
89 bool ret = false; 89 bool ret = true;
90 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_STOP_CFM, cfm, ConstraintParamAxis.AXIS_ALL); 90 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_STOP_CFM, cfm, ConstraintParamAxis.AXIS_ALL);
91 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_STOP_ERP, erp, ConstraintParamAxis.AXIS_ALL); 91 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_STOP_ERP, erp, ConstraintParamAxis.AXIS_ALL);
92 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_CFM, cfm, ConstraintParamAxis.AXIS_ALL); 92 BulletSimAPI.SetConstraintParam2(m_constraint.Ptr, ConstraintParams.BT_CONSTRAINT_CFM, cfm, ConstraintParamAxis.AXIS_ALL);