1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-15 10:13:07 +00:00

Update RegionUnpacker.gd

This commit is contained in:
HuanWuCode 2024-10-12 22:11:51 -07:00 committed by GitHub
parent 084bdcccb1
commit d48ad64e02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ func get_rects(
side_b = test_image.get_size().x
var line := 0
while line < side_a:
for element: int in side_b:
for element in range(side_b):
var position := Vector2i(line, element)
if scan_dir == DETECT_HORIZONTAL_EMPTY_LINES:
position = Vector2i(element, line)