mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix llList2CSV with -nan in vector and quaternion (with test case).
This commit is contained in:
parent
2044f888d4
commit
2d72b8e198
2 changed files with 2 additions and 1 deletions
|
@ -986,7 +986,7 @@ def llList2CSV(lst):
|
|||
else:
|
||||
ret.append(u'%.6f' % elem)
|
||||
elif type(elem) in (Vector, Quaternion):
|
||||
ret.append(u'<' + u', '.join(list(u'%.6f' % x for x in elem)) + u'>')
|
||||
ret.append(u'<' + llList2CSV(list(elem)) + u'>')
|
||||
else:
|
||||
ret.append(InternalTypecast(elem, unicode, InList=True, f32=True))
|
||||
ret = u', '.join(ret)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue