Publish a method on ICompiler to generate the CIL assembly path

Cause group deeding to apply next owner perms
0.6.6-post-fixes
Melanie Thielker 2009-06-21 18:38:12 +00:00
parent 034de5ecd6
commit 2c3a1995fc
3 changed files with 9 additions and 0 deletions

View File

@ -2724,6 +2724,7 @@ namespace OpenSim.Region.Framework.Scenes
}
sog.SetOwnerId(groupID);
sog.ApplyNextOwnerPermissions();
}
}
}

View File

@ -38,5 +38,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
string[] GetWarnings();
Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>>
LineMap();
string GetAssemblyName(UUID assetID);
}
}

View File

@ -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"));
}
/// <summary>
/// Converts script from LSL to CS and calls CompileFromCSText
/// </summary>