mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +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:
@@ -246,7 +246,12 @@ public abstract class BSPhysObject : PhysicsActor
|
||||
|
||||
public virtual bool ForceBodyShapeRebuild(bool inTaintTime) { return false; }
|
||||
|
||||
public override bool PIDActive { set { MoveToTargetActive = value; } }
|
||||
public override bool PIDActive
|
||||
{
|
||||
get { return MoveToTargetActive; }
|
||||
set { MoveToTargetActive = value; }
|
||||
}
|
||||
|
||||
public override OMV.Vector3 PIDTarget { set { MoveToTargetTarget = value; } }
|
||||
public override float PIDTau { set { MoveToTargetTau = value; } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user