Actually update the SP. EXPERIMENTAL

avinationmerge
Melanie Thielker 2010-06-13 22:23:07 +02:00
parent f59e272643
commit 3d319d6c3f
1 changed files with 6 additions and 0 deletions

View File

@ -4726,7 +4726,13 @@ namespace OpenSim.Region.Framework.Scenes
if (m_sitTargetAvatar != UUID.Zero) if (m_sitTargetAvatar != UUID.Zero)
return; return;
ScenePresence p = m_parentGroup.Scene.GetScenePresence(m_sitTargetAvatar);
if (p == null)
return;
// Update sitting avatar chat position // Update sitting avatar chat position
p.AbsolutePosition = AbsolutePosition;
} }
} }
} }