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();
|
||||
avatarSitResponse.SitObject.ID = TargetID;
|
||||
if (CameraAtOffset != Vector3.Zero)
|
||||
{
|
||||
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