mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Replace layer array with class in crop image
I forgot to replace that, sorry.
This commit is contained in:
parent
881e53dadc
commit
aeabfc9697
|
@ -407,7 +407,7 @@ func crop_image() -> void:
|
||||||
if used_rect != Rect2(0, 0, 0, 0):
|
if used_rect != Rect2(0, 0, 0, 0):
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
if layer[0].get_used_rect() != Rect2(0, 0, 0, 0):
|
if layer.image.get_used_rect() != Rect2(0, 0, 0, 0):
|
||||||
used_rect = layer.image.get_used_rect()
|
used_rect = layer.image.get_used_rect()
|
||||||
|
|
||||||
# Merge all layers with content
|
# Merge all layers with content
|
||||||
|
|
Loading…
Reference in a new issue