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/Interfaces | |
parent | Avoid a possible race condition where the XEngine script compile thread could... (diff) | |
download | opensim-SC-2b9f0647de513f6a916d9d58d4e7883d30b804d3.zip opensim-SC-2b9f0647de513f6a916d9d58d4e7883d30b804d3.tar.gz opensim-SC-2b9f0647de513f6a916d9d58d4e7883d30b804d3.tar.bz2 opensim-SC-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/Interfaces')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index b9a217b..1097efb 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
222 | void SetVars(Dictionary<string, object> vars); | 222 | void SetVars(Dictionary<string, object> vars); |
223 | DetectParams GetDetectParams(int idx); | 223 | DetectParams GetDetectParams(int idx); |
224 | UUID GetDetectID(int idx); | 224 | UUID GetDetectID(int idx); |
225 | void SaveState(string assembly); | 225 | void SaveState(); |
226 | void DestroyScriptInstance(); | 226 | void DestroyScriptInstance(); |
227 | 227 | ||
228 | IScriptApi GetApi(string name); | 228 | IScriptApi GetApi(string name); |