Revert "Still send CameraEyeOffset in UDP SendSitReponse even if at offset is Vector3.Zero"
This reverts commit 9bdd3dc7de
.
master-beforevarregion
parent
eb172be541
commit
a68d1fad73
|
@ -2635,8 +2635,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
AvatarSitResponsePacket avatarSitResponse = new AvatarSitResponsePacket();
|
AvatarSitResponsePacket avatarSitResponse = new AvatarSitResponsePacket();
|
||||||
avatarSitResponse.SitObject.ID = TargetID;
|
avatarSitResponse.SitObject.ID = TargetID;
|
||||||
avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
|
if (CameraAtOffset != Vector3.Zero)
|
||||||
avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
|
{
|
||||||
|
avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
|
||||||
|
avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
|
||||||
|
}
|
||||||
avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook;
|
avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook;
|
||||||
avatarSitResponse.SitTransform.AutoPilot = autopilot;
|
avatarSitResponse.SitTransform.AutoPilot = autopilot;
|
||||||
avatarSitResponse.SitTransform.SitPosition = OffsetPos;
|
avatarSitResponse.SitTransform.SitPosition = OffsetPos;
|
||||||
|
|
Loading…
Reference in New Issue