diff options
author | Melanie | 2010-06-30 21:25:39 +0100 |
---|---|---|
committer | Melanie | 2010-06-30 21:28:32 +0100 |
commit | b3ce5ffc1167745d4073c8986d821359ab2c0abb (patch) | |
tree | ffbc0a6dbb7af0314041eba04311587f8397cbe6 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Fix the XML serializationt to provide an empty script state element if (diff) | |
download | opensim-SC-b3ce5ffc1167745d4073c8986d821359ab2c0abb.zip opensim-SC-b3ce5ffc1167745d4073c8986d821359ab2c0abb.tar.gz opensim-SC-b3ce5ffc1167745d4073c8986d821359ab2c0abb.tar.bz2 opensim-SC-b3ce5ffc1167745d4073c8986d821359ab2c0abb.tar.xz |
Fix scripts in rezzed objects not starting (Mantis #4775)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 4715690..808cf82 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -488,6 +488,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
488 | 488 | ||
489 | if (stateSource == (int)StateSource.ScriptedRez) | 489 | if (stateSource == (int)StateSource.ScriptedRez) |
490 | { | 490 | { |
491 | lock (m_CompileDict) | ||
492 | { | ||
493 | m_CompileDict[itemID] = 0; | ||
494 | } | ||
495 | |||
491 | DoOnRezScript(parms); | 496 | DoOnRezScript(parms); |
492 | } | 497 | } |
493 | else | 498 | else |