Append new linked cells to Global.layers[i][5]

Append the Canvas nodes instead of frame ints
This commit is contained in:
OverloadedOrama 2020-03-18 02:56:29 +02:00
parent 778c86183f
commit fd0069d2e5
2 changed files with 7 additions and 1 deletions

View file

@ -67,4 +67,4 @@ func _on_LockButton_pressed() -> void:
func _on_LinkButton_pressed() -> void:
Global.layers[i][4] = !Global.layers[i][4]
if !Global.layers[i][5]:
Global.layers[i][5].append(Global.current_frame)
Global.layers[i][5].append(Global.canvas)