mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Add mingchen's fix for string->float cast to Shared/
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user