Actually link the images - changes that happen to one linked cell happen to another

Also fixed a a crash in FrameButton.gd
This commit is contained in:
OverloadedOrama 2020-03-18 03:24:15 +02:00
parent 73da8eeb1a
commit b7b3d1d924
2 changed files with 6 additions and 1 deletions

View file

@ -70,7 +70,7 @@ func _on_PopupMenu_id_pressed(ID : int) -> void:
Global.undo_redo.add_do_property(Global, "canvas", new_canvas)
Global.undo_redo.add_do_property(Global, "current_frame", new_canvases.size() - 1)
for i in range(Global.layers.size()):
for child in Global.layers[i][2].get_children():
for child in Global.layers[i][3].get_children():
Global.undo_redo.add_do_property(child, "pressed", false)
Global.undo_redo.add_undo_property(child, "pressed", child.pressed)
for c in Global.canvases: