diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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 8da9bdc..b3df1ea 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1884,7 +1884,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1884 | // If the primitive the player clicked on has no sit target, and one or more other linked objects have sit targets that are not full, the sit target of the object with the lowest link number will be used. | 1884 | // If the primitive the player clicked on has no sit target, and one or more other linked objects have sit targets that are not full, the sit target of the object with the lowest link number will be used. |
1885 | 1885 | ||
1886 | // Get our own copy of the part array, and sort into the order we want to test | 1886 | // Get our own copy of the part array, and sort into the order we want to test |
1887 | SceneObjectPart[] partArray = targetPart.ParentGroup.GetParts(); | 1887 | SceneObjectPart[] partArray = targetPart.ParentGroup.Parts; |
1888 | Array.Sort(partArray, delegate(SceneObjectPart p1, SceneObjectPart p2) | 1888 | Array.Sort(partArray, delegate(SceneObjectPart p1, SceneObjectPart p2) |
1889 | { | 1889 | { |
1890 | // we want the originally selected part first, then the rest in link order -- so make the selected part link num (-1) | 1890 | // we want the originally selected part first, then the rest in link order -- so make the selected part link num (-1) |