mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Noted important bug in llListReplaceList
This commit is contained in:
parent
0b55f6e64d
commit
e36fc83b39
1 changed files with 1 additions and 0 deletions
|
@ -1125,6 +1125,7 @@ def llListReplaceList(lst, elems, start, end):
|
|||
if end == -1: end += L
|
||||
return lst[end+1:start] + elems
|
||||
if end == -1: end += L
|
||||
# BUG: llListReplaceList([1,2,3,4],[5],-5,-5) should return [1,2,3,4]
|
||||
return lst[:start] + elems + lst[end+1:]
|
||||
|
||||
def llListSort(lst, stride, asc):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue