diff options
author | Melanie Thielker | 2009-06-21 18:38:12 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-06-21 18:38:12 +0000 |
commit | 2c3a1995fcdaecffbd8cc7efea2be4adf505321b (patch) | |
tree | 8710a8a6d10c9ed02d0df72b73ecb6bc97fa702c /OpenSim/Region/ScriptEngine/Shared | |
parent | Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested (diff) | |
download | opensim-SC-2c3a1995fcdaecffbd8cc7efea2be4adf505321b.zip opensim-SC-2c3a1995fcdaecffbd8cc7efea2be4adf505321b.tar.gz opensim-SC-2c3a1995fcdaecffbd8cc7efea2be4adf505321b.tar.bz2 opensim-SC-2c3a1995fcdaecffbd8cc7efea2be4adf505321b.tar.xz |
Publish a method on ICompiler to generate the CIL assembly path
Cause group deeding to apply next owner perms
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index a1525b9..35f791e 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 | |||
259 | // } | 259 | // } |
260 | //} | 260 | //} |
261 | 261 | ||
262 | public string GetAssemblyName(UUID assetID) | ||
263 | { | ||
264 | return Path.Combine(ScriptEnginesPath, Path.Combine( | ||
265 | m_scriptEngine.World.RegionInfo.RegionID.ToString(), | ||
266 | FilePrefix + "_compiled_" + assetID + ".dll")); | ||
267 | } | ||
268 | |||
262 | /// <summary> | 269 | /// <summary> |
263 | /// Converts script from LSL to CS and calls CompileFromCSText | 270 | /// Converts script from LSL to CS and calls CompileFromCSText |
264 | /// </summary> | 271 | /// </summary> |