aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index d0871bc..74c9935 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -1190,6 +1190,11 @@ namespace OpenSim.Region.ScriptEngine.Common
1190 return new Vector3(s.m_string); 1190 return new Vector3(s.m_string);
1191 } 1191 }
1192 1192
1193 public static implicit operator Quaternion(LSLString s)
1194 {
1195 return new Quaternion(s.m_string);
1196 }
1197
1193 public static implicit operator LSLFloat(LSLString s) 1198 public static implicit operator LSLFloat(LSLString s)
1194 { 1199 {
1195 return new LSLFloat(Convert.ToDouble(s.m_string)); 1200 return new LSLFloat(Convert.ToDouble(s.m_string));