diff options
author | Kitto Flora | 2011-01-28 04:35:43 +0000 |
---|---|---|
committer | Kitto Flora | 2011-01-28 04:35:43 +0000 |
commit | 9abaac4d60ed2ccb90d63c65517ab269000a7f06 (patch) | |
tree | e412090f8c68edd5dc18c8a066019083201fdd51 /OpenSim/Region/Framework/Scenes | |
parent | Fix up QueryAccess to also check parcels (diff) | |
download | opensim-SC_OLD-9abaac4d60ed2ccb90d63c65517ab269000a7f06.zip opensim-SC_OLD-9abaac4d60ed2ccb90d63c65517ab269000a7f06.tar.gz opensim-SC_OLD-9abaac4d60ed2ccb90d63c65517ab269000a7f06.tar.bz2 opensim-SC_OLD-9abaac4d60ed2ccb90d63c65517ab269000a7f06.tar.xz |
Correct chat source location for Av seated on daughter prim.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index a1ca9c5..df7d7c8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -497,7 +497,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
497 | SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID); | 497 | SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID); |
498 | if (part != null) | 498 | if (part != null) |
499 | { | 499 | { |
500 | return m_parentPosition + (m_pos * part.GetWorldRotation()); | 500 | return part.AbsolutePosition + (m_pos * part.GetWorldRotation()); |
501 | } | 501 | } |
502 | else | 502 | else |
503 | { | 503 | { |