diff options
author | Tedd Hansen | 2007-08-18 22:09:07 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-18 22:09:07 +0000 |
commit | 240712ca9fc726653e2a03b944baa8b6f8155b07 (patch) | |
tree | 6fd919d0983ba3d108aee5adeec0a9a751dff760 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |
parent | Script loads into separate AppDomain without errors. Events and llFunctions n... (diff) | |
download | opensim-SC-240712ca9fc726653e2a03b944baa8b6f8155b07.zip opensim-SC-240712ca9fc726653e2a03b944baa8b6f8155b07.tar.gz opensim-SC-240712ca9fc726653e2a03b944baa8b6f8155b07.tar.bz2 opensim-SC-240712ca9fc726653e2a03b944baa8b6f8155b07.tar.xz |
Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
*phew* that only took me 12 hours of coding...
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 435ee08..ad2717c 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -61,7 +61,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
61 | 61 | ||
62 | string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory); | 62 | string rootPath = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory); |
63 | string rootPathSE = Path.GetDirectoryName(this.GetType().Assembly.Location); | 63 | string rootPathSE = Path.GetDirectoryName(this.GetType().Assembly.Location); |
64 | Console.WriteLine("Assembly location: " + rootPath); | 64 | //Console.WriteLine("Assembly location: " + rootPath); |
65 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Common.dll")); | 65 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Common.dll")); |
66 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPathSE, "OpenSim.Region.ScriptEngine.DotNetEngine.dll")); | 66 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPathSE, "OpenSim.Region.ScriptEngine.DotNetEngine.dll")); |
67 | 67 | ||