diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 7274fa5..9bde177 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -1189,6 +1189,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1189 | { | 1189 | { |
1190 | return new Vector3(s.m_string); | 1190 | return new Vector3(s.m_string); |
1191 | } | 1191 | } |
1192 | public static implicit operator LSLFloat(LSLString s) | ||
1193 | { | ||
1194 | return new LSLFloat(Convert.ToDouble(s.m_string)); | ||
1195 | } | ||
1192 | 1196 | ||
1193 | #endregion | 1197 | #endregion |
1194 | 1198 | ||