Publish a method on ICompiler to generate the CIL assembly path
Cause group deeding to apply next owner perms0.6.6-post-fixes
parent
034de5ecd6
commit
2c3a1995fc
|
@ -2724,6 +2724,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
|
||||
sog.SetOwnerId(groupID);
|
||||
sog.ApplyNextOwnerPermissions();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,5 +38,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
|||
string[] GetWarnings();
|
||||
Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>>
|
||||
LineMap();
|
||||
string GetAssemblyName(UUID assetID);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue