aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs
index 5836cc1..6e56231 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs
@@ -146,7 +146,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
146 field.FieldType == typeof(Single) || 146 field.FieldType == typeof(Single) ||
147 field.FieldType == typeof(String) || 147 field.FieldType == typeof(String) ||
148 field.FieldType == typeof(Byte) || 148 field.FieldType == typeof(Byte) ||
149 field.FieldType == typeof(short)) 149 field.FieldType == typeof(short) ||
150 field.FieldType == typeof(LSL_Types.Vector3) ||
151 field.FieldType == typeof(LSL_Types.Quaternion))
150 { 152 {
151 vars[field.Name] = field.GetValue(this); 153 vars[field.Name] = field.GetValue(this);
152 } 154 }
@@ -177,7 +179,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
177 m_Fields[var.Key].FieldType == typeof(Single) || 179 m_Fields[var.Key].FieldType == typeof(Single) ||
178 m_Fields[var.Key].FieldType == typeof(String) || 180 m_Fields[var.Key].FieldType == typeof(String) ||
179 m_Fields[var.Key].FieldType == typeof(Byte) || 181 m_Fields[var.Key].FieldType == typeof(Byte) ||
180 m_Fields[var.Key].FieldType == typeof(short)) 182 m_Fields[var.Key].FieldType == typeof(short) ||
183 m_Fields[var.Key].FieldType == typeof(LSL_Types.Vector3) ||
184 m_Fields[var.Key].FieldType == typeof(LSL_Types.Quaternion)
185 )
181 { 186 {
182 m_Fields[var.Key].SetValue(this, var.Value); 187 m_Fields[var.Key].SetValue(this, var.Value);
183 } 188 }