mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
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.
This commit is contained in:
@@ -614,9 +614,9 @@ public sealed class BSCharacter : BSPhysObject
|
||||
public override OMV.Vector3 PIDTarget {
|
||||
set { _PIDTarget = value; }
|
||||
}
|
||||
public override bool PIDActive {
|
||||
set { _usePID = value; }
|
||||
}
|
||||
|
||||
public override bool PIDActive { get; set; }
|
||||
|
||||
public override float PIDTau {
|
||||
set { _PIDTau = value; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user