mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-19 03:53:14 +00:00
Update RegionUnpacker.gd
This commit is contained in:
parent
084bdcccb1
commit
d48ad64e02
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ func get_rects(
|
||||||
side_b = test_image.get_size().x
|
side_b = test_image.get_size().x
|
||||||
var line := 0
|
var line := 0
|
||||||
while line < side_a:
|
while line < side_a:
|
||||||
for element: int in side_b:
|
for element in range(side_b):
|
||||||
var position := Vector2i(line, element)
|
var position := Vector2i(line, element)
|
||||||
if scan_dir == DETECT_HORIZONTAL_EMPTY_LINES:
|
if scan_dir == DETECT_HORIZONTAL_EMPTY_LINES:
|
||||||
position = Vector2i(element, line)
|
position = Vector2i(element, line)
|
||||||
|
|
Loading…
Add table
Reference in a new issue