Animation only plays on frames of the same tag

If there are no tags, the animation plays on all frames, as before. Currently no front-end way of toggling this behavior.
This commit is contained in:
OverloadedOrama 2020-04-11 20:10:07 +03:00
parent d0c4fbc6eb
commit 4c9a58a333
3 changed files with 14 additions and 5 deletions

View file

@ -6,7 +6,7 @@ var layer := 0
onready var popup_menu := $PopupMenu
func _ready() -> void:
hint_tooltip = "Frame: %s, Layer: %s" % [frame, layer]
hint_tooltip = "Frame: %s, Layer: %s" % [frame + 1, layer]
if Global.canvases[frame] in Global.layers[layer][5]:
get_node("LinkedIndicator").visible = true
popup_menu.set_item_disabled(4, false) # Unlink cel