array_group -> list_to_matrix fixes

This commit is contained in:
Adrian Mariano
2021-10-26 23:17:21 -04:00
parent 71dab62432
commit 2eff8ec203
6 changed files with 10 additions and 8 deletions

View File

@@ -795,7 +795,7 @@ function _path_cut_points(path, dists, closed=false, direction=false) =
dir = _path_cuts_dir(path, cuts, closed),
normals = _path_cuts_normals(path, cuts, dir, closed)
)
hstack(cuts, array_group(dir,1), array_group(normals,1));
hstack(cuts, list_to_matrix(dir,1), list_to_matrix(normals,1));
// Main recursive path cut function
function _path_cut_points_recurse(path, dists, closed=false, pind=0, dtotal=0, dind=0, result=[]) =