Cloning frames works

This commit is contained in:
OverloadedOrama 2020-03-03 03:05:48 +02:00
parent 120e47d0f9
commit 24818bfaea
2 changed files with 8 additions and 8 deletions

View file

@ -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()