diff options
author | Charles Krinke | 2008-06-05 14:15:15 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-05 14:15:15 +0000 |
commit | e3c14e9b24350bc4065172ddf6be90116a3a538c (patch) | |
tree | b3c8fe82f7a97f57968e4d69a1e004d0e7f8e52f /OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs | |
parent | Mantis#1455. Thank you kindly, Mikem for a patch that addresses (diff) | |
download | opensim-SC_OLD-e3c14e9b24350bc4065172ddf6be90116a3a538c.zip opensim-SC_OLD-e3c14e9b24350bc4065172ddf6be90116a3a538c.tar.gz opensim-SC_OLD-e3c14e9b24350bc4065172ddf6be90116a3a538c.tar.bz2 opensim-SC_OLD-e3c14e9b24350bc4065172ddf6be90116a3a538c.tar.xz |
Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs index ebe4fc5..71fc0b6 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/Script/BuiltIn_Commands_BaseClass.cs | |||
@@ -81,10 +81,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine.Script | |||
81 | 81 | ||
82 | public Dictionary<string, object> GetVars() | 82 | public Dictionary<string, object> GetVars() |
83 | { | 83 | { |
84 | m_Fields.Clear(); | ||
85 | |||
86 | Dictionary<string, object> vars = new Dictionary<string, object>(); | 84 | Dictionary<string, object> vars = new Dictionary<string, object>(); |
87 | 85 | ||
86 | if(m_Fields == null) | ||
87 | return vars; | ||
88 | |||
89 | m_Fields.Clear(); | ||
90 | |||
88 | Type t = GetType(); | 91 | Type t = GetType(); |
89 | 92 | ||
90 | FieldInfo[] fields = t.GetFields(BindingFlags.NonPublic | | 93 | FieldInfo[] fields = t.GetFields(BindingFlags.NonPublic | |