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

fix end cond

This commit is contained in:
Justin Lin
2019-08-25 18:12:59 +08:00
parent 4dc5fdd1d9
commit 993bd617aa

View File

@@ -25,7 +25,7 @@ function px_from(binaries, center = false, invert = false) =
offset_i = height / 2
)
[
for(i = height - 1; i > 0; i = i - 1)
for(i = height - 1; i > -1; i = i - 1)
let(row = _px_from_row(height - i - 1, binaries[i], width, height, center, invert))
if(row != []) each row
];