add from string, from lsl string and from span lsl vector3 and rotation variants

This commit is contained in:
UbitUmarov
2023-02-18 01:15:31 +00:00
parent 4a4ff5faf4
commit 361f6a9226
5 changed files with 50 additions and 48 deletions

View File

@@ -6761,8 +6761,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
{
if(val is LSL_Vector)
return rVal;
if(val is string)
nval = new LSL_Vector((string)val);
if(val is string sval)
nval = new LSL_Vector(sval);
}
if(nval != null)