diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 1a40a0df1e..c24ecf504d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2724,6 +2724,7 @@ namespace OpenSim.Region.Framework.Scenes } sog.SetOwnerId(groupID); + sog.ApplyNextOwnerPermissions(); } } } diff --git a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs index 2fd819d779..7456ca9fa6 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/ICompiler.cs @@ -38,5 +38,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces string[] GetWarnings(); Dictionary, KeyValuePair> LineMap(); + string GetAssemblyName(UUID assetID); } } diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index a1525b9b7a..35f791e128 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -259,6 +259,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools // } //} + public string GetAssemblyName(UUID assetID) + { + return Path.Combine(ScriptEnginesPath, Path.Combine( + m_scriptEngine.World.RegionInfo.RegionID.ToString(), + FilePrefix + "_compiled_" + assetID + ".dll")); + } + /// /// Converts script from LSL to CS and calls CompileFromCSText ///