Still send CameraEyeOffset in UDP SendSitReponse even if at offset is Vector3.Zero
As far as I can see it's valid to change the eye offset even if you aren't changing the at target.link-sitting
parent
9f4a548a49
commit
9bdd3dc7de
|
@ -2635,11 +2635,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
{
|
||||
AvatarSitResponsePacket avatarSitResponse = new AvatarSitResponsePacket();
|
||||
avatarSitResponse.SitObject.ID = TargetID;
|
||||
if (CameraAtOffset != Vector3.Zero)
|
||||
{
|
||||
avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
|
||||
avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
|
||||
}
|
||||
avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
|
||||
avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
|
||||
avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook;
|
||||
avatarSitResponse.SitTransform.AutoPilot = autopilot;
|
||||
avatarSitResponse.SitTransform.SitPosition = OffsetPos;
|
||||
|
|
Loading…
Reference in New Issue