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
bulletsim
Justin Clark-Casey (justincc) 2011-04-18 21:07:11 +01:00
parent 8533c63d89
commit 5a404a9ab1
1 changed files with 2 additions and 2 deletions

View File

@ -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;