From c4318136ba356a1766d57479ae1814a2606c5c8d Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 13 Jul 2009 14:42:46 +0000 Subject: Changed it so that when rezzing prims from inventory, a bounding box containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim. --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 3fe879a..3a5107d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2318,7 +2318,7 @@ namespace OpenSim.Region.Framework.Scenes { pos = GetNewRezLocation( RayStart, RayEnd, RayTargetID, Quaternion.Identity, - BypassRayCast, bRayEndIsIntersection, true, group.GroupScale(), false); + BypassRayCast, bRayEndIsIntersection, true, group.GetAxisAlignedBoundingBox(), false); group.AbsolutePosition = pos; } else -- cgit v1.1