1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

fix wrong func call

This commit is contained in:
Justin Lin
2020-03-14 20:08:08 +08:00
parent da64c31014
commit 4c45ca7563

View File

@@ -25,4 +25,4 @@ function _sort_by(lt, by, idx) =
dict = [["x", 0], ["y", 1], ["z", 2], ["i", idx]],
i = dict[search(by == "idx" ? "i" : by, dict)[0]][1]
)
_sort(lt, i);
_sort_by_idx(lt, i);