From e458a87e91090ce94c31f6cc2f049dcda28600de Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 1 Sep 2009 01:53:54 +0100 Subject: Experimental. Set attachment flag early on rezzing from inventory. --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 +++ OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 650fc7e..b4887c2 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2015,7 +2015,10 @@ namespace OpenSim.Region.Framework.Scenes group.ResetIDs(); if (attachment) + { group.RootPart.ObjectFlags |= (uint)PrimFlags.Phantom; + group.IsAttachment = true; + } AddNewSceneObject(group, true); diff --git a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs index 1e35559..f8af902 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs @@ -38,6 +38,5 @@ namespace OpenSim.Region.ScriptEngine.Interfaces string[] GetWarnings(); Dictionary, KeyValuePair> LineMap(); - object GetCompilerOutput(UUID assetID); } } -- cgit v1.1