From ed1029712a85206430fee1d4897d473517728dab Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 23 Nov 2013 01:18:07 +0000
Subject: Add line accidentally left out of recent non-root prim sit fix

Original commit is ff4e7de7
---
 OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index ea8e4fe..17b6126 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -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
                 // being sat upon.
+                offset += part.OffsetPosition;
+
                 ControllingClient.SendSitResponse(
                     part.ParentGroup.UUID, offset, sitOrientation, false, cameraAtOffset, cameraEyeOffset, forceMouselook);
 
-- 
cgit v1.1