diff options
author | Justin Clark-Casey (justincc) | 2014-12-10 00:25:27 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-12-10 00:25:27 +0000 |
commit | 2b9f0647de513f6a916d9d58d4e7883d30b804d3 (patch) | |
tree | 6a41a0a0c88eb6b6c1ce1d19d64de3837b89c293 /OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs | |
parent | Avoid a possible race condition where the XEngine script compile thread could... (diff) | |
download | opensim-SC_OLD-2b9f0647de513f6a916d9d58d4e7883d30b804d3.zip opensim-SC_OLD-2b9f0647de513f6a916d9d58d4e7883d30b804d3.tar.gz opensim-SC_OLD-2b9f0647de513f6a916d9d58d4e7883d30b804d3.tar.bz2 opensim-SC_OLD-2b9f0647de513f6a916d9d58d4e7883d30b804d3.tar.xz |
Fix a regression where objects crossing regions in the same simulator (on their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest.
This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc.
This resolves the regression by passing the proper destination separately from the DLL retrieved.
Probably a regression since commit d7b92604 (11 July 2014).
Added regression test for this case.
At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs index fe15157..878e571 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineBasicTests.cs | |||
@@ -40,10 +40,10 @@ using OpenSim.Tests.Common; | |||
40 | namespace OpenSim.Region.ScriptEngine.XEngine.Tests | 40 | namespace OpenSim.Region.ScriptEngine.XEngine.Tests |
41 | { | 41 | { |
42 | /// <summary> | 42 | /// <summary> |
43 | /// XEngine tests. | 43 | /// Basic XEngine tests. |
44 | /// </summary> | 44 | /// </summary> |
45 | [TestFixture] | 45 | [TestFixture] |
46 | public class XEngineTest : OpenSimTestCase | 46 | public class XEngineBasicTests : OpenSimTestCase |
47 | { | 47 | { |
48 | private TestScene m_scene; | 48 | private TestScene m_scene; |
49 | private XEngine m_xEngine; | 49 | private XEngine m_xEngine; |