Add mingchen's fix for string->float cast to Shared/
parent
06e0e513cf
commit
ac9a221993
|
@ -1199,6 +1199,10 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
|||
{
|
||||
return new Vector3(s.m_string);
|
||||
}
|
||||
public static implicit operator LSLFloat(LSLString s)
|
||||
{
|
||||
return new LSLFloat(Convert.ToDouble(s.m_string));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Reference in New Issue