diff options
author | Justin Clark-Casey | 2014-11-19 20:06:56 +0000 |
---|---|---|
committer | Justin Clark-Casey | 2014-11-19 20:06:56 +0000 |
commit | 7a2c77e7eace93d722ef37595e9fab21d3cd266f (patch) | |
tree | d8e8a4ca5c93654526efd6761995022038977125 /OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | |
parent | Remove SOP.StopMoveToTarget scheduled update which is now being done in SOG.s... (diff) | |
download | opensim-SC-7a2c77e7eace93d722ef37595e9fab21d3cd266f.zip opensim-SC-7a2c77e7eace93d722ef37595e9fab21d3cd266f.tar.gz opensim-SC-7a2c77e7eace93d722ef37595e9fab21d3cd266f.tar.bz2 opensim-SC-7a2c77e7eace93d722ef37595e9fab21d3cd266f.tar.xz |
If calling llStopMoveToTarget() on an in-world prim, don't send an unnecessary object update if the prim was not moving to target.
This involves making PhysicsActor.PIDActive get as well as set.
On physics components that don't implement this (all characters and some phys engines) we return false.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs index 9b56fb4..a303972 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | |||
@@ -614,9 +614,9 @@ public sealed class BSCharacter : BSPhysObject | |||
614 | public override OMV.Vector3 PIDTarget { | 614 | public override OMV.Vector3 PIDTarget { |
615 | set { _PIDTarget = value; } | 615 | set { _PIDTarget = value; } |
616 | } | 616 | } |
617 | public override bool PIDActive { | 617 | |
618 | set { _usePID = value; } | 618 | public override bool PIDActive { get; set; } |
619 | } | 619 | |
620 | public override float PIDTau { | 620 | public override float PIDTau { |
621 | set { _PIDTau = value; } | 621 | set { _PIDTau = value; } |
622 | } | 622 | } |