diff options
author | Justin Clark-Casey (justincc) | 2010-12-10 03:46:16 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-12-10 03:46:16 +0000 |
commit | a918c8df97572e49eea7155099feea6e4f207264 (patch) | |
tree | 14c71878e737700b55c25106212344bfeb447f5e /OpenSim/Region | |
parent | minor: remove some compiler warnings (diff) | |
download | opensim-SC_OLD-a918c8df97572e49eea7155099feea6e4f207264.zip opensim-SC_OLD-a918c8df97572e49eea7155099feea6e4f207264.tar.gz opensim-SC_OLD-a918c8df97572e49eea7155099feea6e4f207264.tar.bz2 opensim-SC_OLD-a918c8df97572e49eea7155099feea6e4f207264.tar.xz |
fix the minimap sitting avatar location bug
a sitting avatar should have it's offset position added to the scene object, not its absolute position
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 032c859..78e5da3 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -215,7 +215,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
215 | SceneObjectPart sop = m_parentScene.GetSceneObjectPart(sp.ParentID); | 215 | SceneObjectPart sop = m_parentScene.GetSceneObjectPart(sp.ParentID); |
216 | if (sop != null) | 216 | if (sop != null) |
217 | { | 217 | { |
218 | coarseLocations.Add(sop.AbsolutePosition + sp.AbsolutePosition); | 218 | coarseLocations.Add(sop.AbsolutePosition + sp.OffsetPosition); |
219 | avatarUUIDs.Add(sp.UUID); | 219 | avatarUUIDs.Add(sp.UUID); |
220 | } | 220 | } |
221 | else | 221 | else |