Add line accidentally left out of recent non-root prim sit fix

Original commit is ff4e7de7
link-sitting
Justin Clark-Casey (justincc) 2013-11-23 01:18:07 +00:00
parent 9bdd3dc7de
commit ed1029712a
1 changed files with 2 additions and 0 deletions

View File

@ -2314,6 +2314,8 @@ namespace OpenSim.Region.Framework.Scenes
// An viewer expects to specify sit positions as offsets to the root prim, even if a child prim is // An viewer expects to specify sit positions as offsets to the root prim, even if a child prim is
// being sat upon. // being sat upon.
offset += part.OffsetPosition;
ControllingClient.SendSitResponse( ControllingClient.SendSitResponse(
part.ParentGroup.UUID, offset, sitOrientation, false, cameraAtOffset, cameraEyeOffset, forceMouselook); part.ParentGroup.UUID, offset, sitOrientation, false, cameraAtOffset, cameraEyeOffset, forceMouselook);