From ebb03e2aabf3b4c88df02afb0999f0815dc76400 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 17 Jul 2009 17:53:22 +0000 Subject: * This should fix the phantom prim from attachments rezzing. * fixes mantis #3896 * fixes mantis #3898 --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index c277bdd..eb6f512 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2310,6 +2310,9 @@ namespace OpenSim.Region.Framework.Scenes group.ResetIDs(); + if (attachment) + group.RootPart.ObjectFlags |= (uint)PrimFlags.Phantom; + AddNewSceneObject(group, true); // m_log.InfoFormat("ray end point for inventory rezz is {0} {1} {2} ", RayEnd.X, RayEnd.Y, RayEnd.Z); -- cgit v1.1