diff options
author | Robert Adams | 2012-10-22 09:12:06 -0700 |
---|---|---|
committer | Robert Adams | 2012-10-22 22:24:51 -0700 |
commit | 7272a4cae835f2d3d2a696241c6e6eb5f4b5af54 (patch) | |
tree | e833f70b32e912fadb297cc2f92aaa49313aba42 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |
parent | BulletSim: remove trailing spaces to make git happy. (diff) | |
download | opensim-SC_OLD-7272a4cae835f2d3d2a696241c6e6eb5f4b5af54.zip opensim-SC_OLD-7272a4cae835f2d3d2a696241c6e6eb5f4b5af54.tar.gz opensim-SC_OLD-7272a4cae835f2d3d2a696241c6e6eb5f4b5af54.tar.bz2 opensim-SC_OLD-7272a4cae835f2d3d2a696241c6e6eb5f4b5af54.tar.xz |
BulletSim: fix problem of not rebuilding shape by clearing last rebuild failed flag in BSPrim.ForceBodyShapeRebuild()
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs index 7b211fa..3c5e6e5 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |||
@@ -173,6 +173,7 @@ public sealed class BSPrim : BSPhysObject | |||
173 | } | 173 | } |
174 | public override bool ForceBodyShapeRebuild(bool inTaintTime) | 174 | public override bool ForceBodyShapeRebuild(bool inTaintTime) |
175 | { | 175 | { |
176 | LastAssetBuildFailed = false; | ||
176 | BSScene.TaintCallback rebuildOperation = delegate() | 177 | BSScene.TaintCallback rebuildOperation = delegate() |
177 | { | 178 | { |
178 | _mass = CalculateMass(); // changing the shape changes the mass | 179 | _mass = CalculateMass(); // changing the shape changes the mass |