mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Cloning frames works
This commit is contained in:
parent
120e47d0f9
commit
24818bfaea
2 changed files with 8 additions and 8 deletions
|
@ -30,7 +30,7 @@ var pen_pressure := 1.0 # For tablet pressure sensitivity
|
|||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
var fill_layers := layers.empty()
|
||||
for i in range(Global.layers.size()):
|
||||
for l in Global.layers:
|
||||
if fill_layers:
|
||||
# The sprite itself
|
||||
var sprite := Image.new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue