diff options
author | Melanie | 2013-01-13 13:44:24 +0000 |
---|---|---|
committer | Melanie | 2013-01-13 13:44:24 +0000 |
commit | 923e5df7aedd1f81b481363db00866590bed0f15 (patch) | |
tree | 47aaa12f40c126f7c81dec6637c4c11647403117 /OpenSim/Region/Physics/BulletSPlugin | |
parent | Merge branch 'master' into careminster (diff) | |
parent | BulletSim: fix the 'No recognised physics mesh found ...' error spew by remem... (diff) | |
download | opensim-SC-923e5df7aedd1f81b481363db00866590bed0f15.zip opensim-SC-923e5df7aedd1f81b481363db00866590bed0f15.tar.gz opensim-SC-923e5df7aedd1f81b481363db00866590bed0f15.tar.bz2 opensim-SC-923e5df7aedd1f81b481363db00866590bed0f15.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs index 400d5d6..8fd054f 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |||
@@ -169,6 +169,7 @@ public sealed class BSPrim : BSPhysObject | |||
169 | public override PrimitiveBaseShape Shape { | 169 | public override PrimitiveBaseShape Shape { |
170 | set { | 170 | set { |
171 | BaseShape = value; | 171 | BaseShape = value; |
172 | LastAssetBuildFailed = false; | ||
172 | ForceBodyShapeRebuild(false); | 173 | ForceBodyShapeRebuild(false); |
173 | } | 174 | } |
174 | } | 175 | } |
@@ -178,7 +179,6 @@ public sealed class BSPrim : BSPhysObject | |||
178 | 179 | ||
179 | public override bool ForceBodyShapeRebuild(bool inTaintTime) | 180 | public override bool ForceBodyShapeRebuild(bool inTaintTime) |
180 | { | 181 | { |
181 | LastAssetBuildFailed = false; | ||
182 | PhysicsScene.TaintedObject(inTaintTime, "BSPrim.ForceBodyShapeRebuild", delegate() | 182 | PhysicsScene.TaintedObject(inTaintTime, "BSPrim.ForceBodyShapeRebuild", delegate() |
183 | { | 183 | { |
184 | _mass = CalculateMass(); // changing the shape changes the mass | 184 | _mass = CalculateMass(); // changing the shape changes the mass |