diff options
author | Melanie | 2010-06-30 21:25:39 +0100 |
---|---|---|
committer | Melanie | 2010-06-30 21:25:39 +0100 |
commit | 1db2921782c4d16e3a1be09de3ef499094d947f2 (patch) | |
tree | aeb3c5c1edc61916deefdc592ae08a862e1c75c9 /OpenSim/Region/ScriptEngine | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-1db2921782c4d16e3a1be09de3ef499094d947f2.zip opensim-SC_OLD-1db2921782c4d16e3a1be09de3ef499094d947f2.tar.gz opensim-SC_OLD-1db2921782c4d16e3a1be09de3ef499094d947f2.tar.bz2 opensim-SC_OLD-1db2921782c4d16e3a1be09de3ef499094d947f2.tar.xz |
Fix scripts in rezzed objects not starting (Mantis #4775)
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 |