1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

fix height bug

This commit is contained in:
Justin Lin
2019-08-23 11:11:35 +08:00
parent 38717abd1a
commit 8655ab4df4

View File

@@ -22,7 +22,7 @@ function bitmap(raw_data, size, center = false, invert = false) =
offset_i = height / 2
)
[
for(i = 0; i < width; i = i + 1)
for(i = 0; i < height; i = i + 1)
let(row = _bitmap_row(i - offset_i, rows[i], width, height, center, invert))
if(row != []) each row
];