diff options
author | Justin Clark-Casey (justincc) | 2013-01-15 00:24:51 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-15 00:24:51 +0000 |
commit | c846cefda97bd59b7707147d7ae1a520c9121127 (patch) | |
tree | ee23e4b451087874a8149348e010a905817121f7 /OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | |
parent | refactor: Simplify ScriptInstance by retaining reference to SceneObjectPart i... (diff) | |
parent | BulletSim: fix not moving physical objects below terrain to over terrain. (diff) | |
download | opensim-SC-c846cefda97bd59b7707147d7ae1a520c9121127.zip opensim-SC-c846cefda97bd59b7707147d7ae1a520c9121127.tar.gz opensim-SC-c846cefda97bd59b7707147d7ae1a520c9121127.tar.bz2 opensim-SC-c846cefda97bd59b7707147d7ae1a520c9121127.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs index 939d38a..a5fec87 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | |||
@@ -126,9 +126,9 @@ public sealed class BSCharacter : BSPhysObject | |||
126 | DetailLog("{0},BSCharacter.Destroy", LocalID); | 126 | DetailLog("{0},BSCharacter.Destroy", LocalID); |
127 | PhysicsScene.TaintedObject("BSCharacter.destroy", delegate() | 127 | PhysicsScene.TaintedObject("BSCharacter.destroy", delegate() |
128 | { | 128 | { |
129 | PhysicsScene.Shapes.DereferenceBody(PhysBody, true, null); | 129 | PhysicsScene.Shapes.DereferenceBody(PhysBody, true /* inTaintTime */, null /* bodyCallback */); |
130 | PhysBody.Clear(); | 130 | PhysBody.Clear(); |
131 | PhysicsScene.Shapes.DereferenceShape(PhysShape, true, null); | 131 | PhysicsScene.Shapes.DereferenceShape(PhysShape, true /* inTaintTime */, null /* bodyCallback */); |
132 | PhysShape.Clear(); | 132 | PhysShape.Clear(); |
133 | }); | 133 | }); |
134 | } | 134 | } |
@@ -328,6 +328,10 @@ public sealed class BSCharacter : BSPhysObject | |||
328 | public override bool Selected { | 328 | public override bool Selected { |
329 | set { _selected = value; } | 329 | set { _selected = value; } |
330 | } | 330 | } |
331 | public override bool IsSelected | ||
332 | { | ||
333 | get { return _selected; } | ||
334 | } | ||
331 | public override void CrossingFailure() { return; } | 335 | public override void CrossingFailure() { return; } |
332 | public override void link(PhysicsActor obj) { return; } | 336 | public override void link(PhysicsActor obj) { return; } |
333 | public override void delink() { return; } | 337 | public override void delink() { return; } |