diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index acfe613..73ec9df 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1199,6 +1199,10 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1199 | { | 1199 | { |
1200 | return new Vector3(s.m_string); | 1200 | return new Vector3(s.m_string); |
1201 | } | 1201 | } |
1202 | public static implicit operator LSLFloat(LSLString s) | ||
1203 | { | ||
1204 | return new LSLFloat(Convert.ToDouble(s.m_string)); | ||
1205 | } | ||
1202 | 1206 | ||
1203 | #endregion | 1207 | #endregion |
1204 | 1208 | ||