mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-19 17:01:36 +02:00
Fix typo in assemble_a_path_from_fragments()
This commit is contained in:
@@ -878,7 +878,7 @@ function assemble_a_path_from_fragments(fragments, rightmost=true, startfrag=0,
|
|||||||
let(
|
let(
|
||||||
// Found fragment intersects with initial path
|
// Found fragment intersects with initial path
|
||||||
hitidx = select(hits,-1),
|
hitidx = select(hits,-1),
|
||||||
newpath = list_head(path,0,hitidx),
|
newpath = list_head(path,hitidx),
|
||||||
newfrags = concat(len(newpath)>1? [newpath] : [], remainder),
|
newfrags = concat(len(newpath)>1? [newpath] : [], remainder),
|
||||||
outpath = concat(slice(path,hitidx,-2), foundfrag)
|
outpath = concat(slice(path,hitidx,-2), foundfrag)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user