From 5a404a9ab1b8c684e5704efe09205f44d4a2e353 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 18 Apr 2011 21:07:11 +0100
Subject: Fix bug where objects were being coalesced in the wrong positions.

This addresses http://opensimulator.org/mantis/view.php?id=5441
The bug was due to a pre-existing mistake in creating the inventory stored position
---
 .../CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index e030ba1..326ef28 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -269,9 +269,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
                                       ? 250
                                       : objectGroup.AbsolutePosition.X)
                                  ,
-                                 (objectGroup.AbsolutePosition.X > (int)Constants.RegionSize)
+                                 (objectGroup.AbsolutePosition.Y > (int)Constants.RegionSize)
                                      ? 250
-                                     : objectGroup.AbsolutePosition.X,
+                                     : objectGroup.AbsolutePosition.Y,
                                  objectGroup.AbsolutePosition.Z);
 
                     originalPositions[objectGroup.UUID] = objectGroup.AbsolutePosition;
-- 
cgit v1.1