diff options
author | Melanie Thielker | 2009-04-10 19:07:41 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-10 19:07:41 +0000 |
commit | 0377ddb5de48406f6d72d676ca853fcb0b8ff497 (patch) | |
tree | c922312fa040ebed786db3531b1ed720c0aaec0d /OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |
parent | Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler. (diff) | |
download | opensim-SC-0377ddb5de48406f6d72d676ca853fcb0b8ff497.zip opensim-SC-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.gz opensim-SC-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.bz2 opensim-SC-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.xz |
Add events to IScriptEngine to notify scripting modules of the removal
of objects from the scene, and of scripts from objects. This facilitates
the development of modules that can register prims with externall servers
for inbound email and XMLRPC. Currently implemented in XEngine only.
Also applying cmickeyb's compiler locking patch, since it seems risk-free.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 162f323..1029184 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -527,8 +527,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
527 | break; | 527 | break; |
528 | case enumCompileType.cs: | 528 | case enumCompileType.cs: |
529 | case enumCompileType.lsl: | 529 | case enumCompileType.lsl: |
530 | results = CScodeProvider.CompileAssemblyFromSource( | 530 | lock (CScodeProvider) |
531 | parameters, Script); | 531 | { |
532 | results = CScodeProvider.CompileAssemblyFromSource( | ||
533 | parameters, Script); | ||
534 | } | ||
532 | break; | 535 | break; |
533 | case enumCompileType.js: | 536 | case enumCompileType.js: |
534 | results = JScodeProvider.CompileAssemblyFromSource( | 537 | results = JScodeProvider.CompileAssemblyFromSource( |